Kết xuấtvi

không_ổn_định

Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.

Marks an interface method as planned but unavailable for a target.

Syntax: @ không_ổn_định [target] [reason]

Category#

availability

Examples#

radix/corpus/annotation-sugar/nondum-braced.fab (canonical · annotation)#

Braced canonical @ không_ổn_định availability record.

# =============================================================================
# không_ổn_định — Braced canonical @ không_ổn_định availability record.
# =============================================================================
#
# What this teaches:
#   • Unimplemented marker — `@ không_ổn_định` annotates a declaration as not yet
#     implemented for a specific backend target
#   • Braced annotation syntax — `@ không_ổn_định { target = rs, ratio = "…" }`
#     provides the target backend and a rationale string
#
# Common mistakes:
#   • using `@ không_ổn_định` on declarations that are actually implemented for the current target (SEM017)
#
# See also: không_ổn_định, annotation-sugar
# =============================================================================

interface tempus {
    @ unstable { target = rs, ratio = "timer handles are not implemented" }
    fn siste(int handle) → void
}

main {
    print "nondum-braced"
}

Expected output:

nondum-braced

radix/corpus/meta/nondum.fab (canonical · annotation)#

Marks an interface method as planned but unavailable for a target.

# =============================================================================
# không_ổn_định — Marks an interface method as planned but unavailable for a target.
# =============================================================================
#
# What this teaches:
#   • the `@không_ổn_định` annotation — marks interface methods as planned but not yet implemented for a target backend
#   • target-specific availability annotations with optional reason strings
#
# Common mistakes:
#   • Calling a method marked @ không_ổn_định — the compiler rejects calls to không_ổn_định methods for the current target (SEM017).
#
# See also: giao_ước, @
# =============================================================================

# meta/nondum — planned-but-unavailable interface methods
#
# GRAMMAR:
#   interfaceMethod :← '@' 'không_ổn_định' target? stringLit
#
# EXPECTED OUTPUT:
#   không_ổn_định giao_ước declared
#
# BACKEND:
#   Calls to @ không_ổn_định methods fail semantic check (SEM017); do not invoke here.

interface tempus {
    @ unstable { target = rs, ratio = "timer handles are not implemented yet" }
    fn siste(int handle) → void
}

main {
    print "nondum implendum declared"
}

Expected output:

nondum implendum declared