text: It is important to have design goals for a language. The design goals of TRLC are:
bullets: The intended domain is requirements writing in an industrial safety-critical context, where requirements carry a lot of meta-data and linkage., Future language releases should be backwards compatible, as we anticipate that there will be a large body of requirements., Language design should be extensible and flexible for future changes., Requirement files (but not necessarily model) should be human-readable with minimal training or understanding of the language., No business logic should be encoded in the language design.
Justifications:
Design goals are reflected in language design.
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is recommended to try to detect this in an implementation and raise a fatal error; but in the interest of compatibility and sanity an implementation shall not provide a way to switch the encoding (at the command-line or otherwise).
text: Integers are base 2 (prefixed by `0b`), 10, or 16 (prefixed by `0x`), and leading zeros are effectively ignored. It is possible to separate digit groups with an underscore for readability. It shall be a lexing error to use digits that do not fit into the base.
text: The value of a double quoted string is precisely the characters between the two double quotes, with all instances of the `\"` escape sequence being replaced with `"`.
text: The value of a triple quoted string is the whitespace trimmed string of characters between the triple quotes (including the line breaks), The common whitespace at the beginning of each line (ignoring blank lines) starting at the second is removed. The trailing whitespace on every line is removed. There is no escaping in a triple quoted string.
bullets: `.rsl` They contains the user-defined type definitions and optionally user-defined warnings or checks, `.trlc` They contain instances of the types (this is where your requirements go)
text: Note that this means that any record accessed through a field access does not necessarily pass all of its checks, since they have not been evaluated yet. Only properties that are checked before checks are evaluated can be assumed to hold (e.g. array length).
text: Note that this unspecified order even extends to packages. If you have package A and B, it is not valid to assume that all objects from A will be evaluated before B, nor is it valid to assume that all objects from B are evaluated before A.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: A package name may consist of multiple dot-separated IDENTIFIER segments, forming a nested package hierarchy. Each segment must be a valid IDENTIFIER. The full dotted name is subject to the Sufficiently_Distinct rule.
text: When applying the Sufficiently_Distinct rule to nested package names, dots are preserved in the simplified form. For example `foo.bar` and `Foo.Bar` both simplify to `foo.bar` and therefore clash. However `foobar` and `foo.bar` have different simplified forms (`foobar` vs `foo.bar`) and do not clash.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: A package `foo.bar` may only be declared if a package `foo` has already been declared. More generally every prefix of a nested package name must itself be a declared package.
text: Importing a nested package `foo.bar` grants access to the types declared in `foo.bar`. Importing the parent package `foo` does not grant access to types in `foo.bar`.
text: An import clause of the form `foo.*` is a wildcard import. It grants access to the package `foo` and to every package that is a descendant of `foo` in the nested package hierarchy. It is equivalent to importing each of those packages individually. A wildcard import `foo.*` is only legal if a package `foo` has been declared; if `foo` has no descendants the wildcard import is equivalent to importing `foo`.
text: If a wildcard import `foo.*` is used but `foo` has no sub-packages, the wildcard is equivalent to a plain `import foo`. Prefer the explicit form to make the import intent clear.
text: A wildcard import whose root covers the current package (i.e. the current package is the root or a descendant of it) is permitted. The current package remains implicitly visible and is not considered imported by the wildcard. An explicit (non-wildcard) import of the current package remains illegal (see Self_Imports).
text: A package is elaborated before its sub-packages. An `rsl` file therefore may not refer to an entity declared in a descendant of its current package, even if that descendant is visible through a wildcard import (see Wildcard_Self_Cover). An explicit import of such a descendant is a circular dependency and is rejected by the Circular_Dependencies rule. `trlc` files are processed after all `rsl` files and may refer to types declared in descendants of their current package.
text: Within a package, the leaf name of a direct sub-package must be sufficiently distinct (see Sufficiently_Distinct) from the name of any type or object declared in that package. This avoids ambiguity in qualified-name resolution, which consults sub-packages before members. The rule applies to all type kinds: record types, union types, and enumeration types.
text: A `Decimal` is a signed rational with a power-of-ten denominator, with an implementation defined range. This range for the numerator shall be at least -1000 to 1000, and denominator is always a natural number with a range of at least 1 to 1000. Any of these ranges can be infinite (but the denominator is always non-negative).
text: A `String` is a sequence of implementation defined characters. *(The decision to support Unicode or not is left unspecified.)* The maximum length of a String, if any, is implementation defined, but shall be at least 1000.
text: A `Markup_String` is identical to a `String`, except for a few additional constraints on the string contents. Any value of type `Markup_String` is a valid instance of `String`, but not the other way around.
text: The description has no bearing on equality. The string description should be exported to the API, so that downstream tools can make use of it. This way we don't have to give some comments special meaning, and we don't have to implement error-prone heuristics in downstream tools for discovering these descriptions.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The package name of a qualified name must be the current package or an imported package. For nested packages, the full dotted package name must be imported; importing a parent package does not give access to sub-packages.
text: It is an error to create a type with a name that is already visible. (Note: this especially includes shadowing one of the builtin types, but also means you cannot shadow packages.)
text: It is not an error to have an enumeration literal with the same name as a record or enumeration - as there is no ambiguity - but it is recommended that an implementation emits a warning in this case.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: A field type names any valid visible and complete type. This includes union types (see union_type). *(Specifically you may not have a recursive tuple reference.)*
text: A tuple type with separators may not contain fields that have tuple types with separators. *(This is to avoid parsing ambiguities for values such as `1; 2; 3`.)*
text: It is an error to declare two fields with the same name in the same tuple. *(Note that it is possible, but a bad idea, to have a separator with the same identifier as a field.)*
text: There is a potential source of ambiguity between tuples with two or more integers separated by a `x` or `b`. This is resolved by giving precedence to the lexer. For example the string `0x123` should yield the hex integer 291; but the string `0 x123` or `0 x 123` will generate the tuple. It is recommended to warn when building tuples where a `b` or `x` separator follows an integer.
text: A record may be marked `abstract`, in which case no objects of this type may be declared. It must be extended *(even if that extension is empty)* before instances of that type can be declared. *(Note that it is possible to have components of an abstract type.)*
text: A record may be marked `final`, and the extension of a `final` type is also considered to be final *(even if it is not explicitly marked as such)*. An extension of a final type may not contain any component declarations.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: Each component declaration shall have a unique name in that record declaration, or any of its root types. *(Two separate record extensions may defined the same component, and they may even have different types. But you cannot re-define a component from a parent type.)*
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is recommended to warn when a union type lists only a single record type, as this is equivalent to a plain record reference and the bracket syntax adds no value.
text: It is recommended to warn when a union type lists both a type and one of its (direct or transitive) subtypes. The subtype entry is already covered by the supertype, which gives a false impression of independent alternatives.
text: All types listed in a union type shall be record types. Builtin types, enumeration types, tuple types, and array types may not appear in a union type.
text: A field access on a component with a union type is permitted if the field exists (by name) in at least one member type. If the field does not exist in any member type, it is a static error.
text: When field access on a union-typed component is permitted (see Union_Type_Field_Access_Validity), the static type of the resulting expression is the declared type of that field in the member types that contain it. This type must be identical across all members that declare the field (see Union_Type_Field_Type_Conflict).
text: When a field name exists in multiple members of a union type but with incompatible types across those members, accessing that field is a static error. Two types are incompatible if they are not the same type object (nominal, not structural, comparison).
text: It is recommended to warn when accessing a field on a union type that does not exist in all member types (see Union_Type_Partial_Field_Null for the evaluation semantics of such an access).
text: When a field access is performed on a union-typed component and the field does not exist in the concrete type of the referenced record object, the expression evaluates to null. This null is typeless (consistent with the Restricted_Null design: there is no polymorphic null literal). The Dereference rule applies only to the prefix of the dot operator (the union-typed component itself must be non-null); it does not apply to the presence or absence of the field in the concrete type. When the prefix is non-null but the concrete type lacks the field, no Dereference error is raised.
text: Equality comparisons on union-typed components follow the same semantics as equality on ordinary record references: two union-typed values are equal iff they both refer to the same named record object *(i.e. identity, not structural equality)*.
text: An equality or inequality operator applied to a union-typed component requires the other operand to have a compatible type. An operand type T is compatible with a union type U if T is one of the member types of U, or T is a (transitive) extension of a member type of U, or one of the member types of U is a (transitive) extension of T. If no such compatibility exists between the two operands, it is a static error.
text: A component with an array declaration introduces an anonymous array type. This means the type of the record component is not the type as specified, but rather an array where the element type is that type.
text: Any valid previously declared record component may be frozen, providing a value of the correct type for the given field in all instances of the record type. It is an error to freeze a component that is already frozen.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: An array type has no upper bound if `*` is specified. An array instance for an array type with an upper bound shall not have more elements than its upper bound.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: An implementation may impose an arbitrary limit to the actual upper bound of an array *(that is treat the `*` as if it was that limit)*. This limit, if it exists, shall be greater than or equal to 1000.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: Instances of an extension may be provided as a reference where a root type is required; but not the other way around. *(This provide a limited form of polymorphism, but with the Liskov substitution principle guaranteed.)*
text: It is recommended that an implementation checks if a record type contains a tuple with a identifier separator that is the same as one of its components. While this is not an error (parsing for values is greedy) it is still highly confusing.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: In a check declaration or expression, it is an error to refer to a component name (or field name) that does not belong to the record (or tuple respectively) indicated.
text: If the evaluated expression is true, no action is taken. If it is false, then a diagnostic is emitted with the specified message and details. It is implementation defined if and how the details are shown, for example in a "brief" mode they could be omitted.
text: The severity, if provided, controls how future errors are treated, and how the TRLC implementation terminates.
bullets: A warning has no effect other than emitting the message., An error (the default, in case severity is not specified) causes an implementation to eventually return a non-zero error code, but further checks will be evaluated (potentially creating more messages)., A fatal message is like an error, except that no further checks from this check block shall be evaluated for this object.
text: The intended meaning of the message is a short description of what is wrong. The intended meaning for the optional details is a longer explanation, including perhaps on what to fix.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The component name (if specified) is a hint where the message should be anchored. It is implementation defined how or if this is taken into account. A suitable anchoring for a message without a component or field could be the object declaration itself. If only a single component or field is used in the expression then the message could be anchored the same way as if the component was indicated explicitly in the check.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is an important design goal to keep the type system sane and following LSP. I.e. each subtype may only narrow the values permitted in a type. This means for a record R and its extension RE; any valid instance of RE is always a valid instance of R if a new binding of R is created considering only the components that are in R. It will never be possible to delete, suppress, widen, or omit checks in record extensions.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The parsing of unary minus can be confusing: `-a % b` is actually `- (a % b)`. The semantics of `%` are carefully specified so that this does not matter. It does also mean that `-a / -b` is not legal and needs to be written as either `-a / (-b)` or even better `(-a) / (-b)`. It is recommended that a linter warns whenever a unary minus is encountered that has a non-trivial `term` or `factor` as its operand.
text: If the prefix of a dot (`.`) access resolves to an enumeration type, then the identifier must be a valid literal of that type. If the prefix of a dot (`.`) access resolves to component containing a tuple, then the identifier must be a valid field of the type of that tuple. If the prefix of a dot (`.`) access resolves to a component referencing another record, then the identifier must be a valid component of that record. Any other prefix is an error.
text: The builtin functions `startswith` and `endswith` are of arity 2. All of their parameters must be of type `String`. The return type of either function is `Boolean`.
text: The builtin function `matches` is of arity 2. Its parameters must be of type `String`. The return type is `Boolean`. The second parameter must be a valid regular expression. *(It is implementation defined which regular expression language is used, but it is highly, _highly_ recommended to implement the standard POSIX regular expressions.)*
text: In addition, the second parameter to the `matches` function must be a static compile-time constant, i.e. it must not depend on the value of a record field or the value of a quantified variable.
text: The numeric type conversion functions are of arity 1 and polymorphic (they are defined for both integer and rationals). They return the type indicated by the function name. *(They are polymorphic in case we want to introduce a true rational type, or a floating point type.)*
text: Evaluating the dot (`.`) operator to access a field of a referenced record requires the prefix (the expression to the left of the dot) to be not null. Dereferencing null is undefined behaviour and is a run-time error. Note: for union-typed components the prefix null check still applies, but once the prefix is non-null a further check is made whether the concrete type of the record object declares the accessed field; if it does not, the result is null rather than an error (see Union_Type_Partial_Field_Null).
text: It is implementation defined if type checks (range or length) are performed for intermediate values; if type checks are not performed then the resulting expression must not be an error.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: This means you either type check all the time, or you guarantee that any intermediate will not create an error in the implementation, as long as the final value fits in the relevant type. For example if A and B are maximum length Strings, then `"potato" in A + B` may either create an error when attempting to concatenate the strings, OR it must work correctly. What you cannot do is cause undefined behaviour in the evaluation.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: Operators with short-cut semantics are `and`, `or`, and `implies`. They first evaluate their left-hand side and proceed to evaluate the right-hand side if it could influence the final result. The semantics of these operators are the usual ones.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The equality operators `==` and `!=` are defined for all types, as long as the types are compatible, i.e. they are the same types or one type is a (transitive) record extension of the other. The result is a Boolean.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: Range membership tests `not in` and `in` are defined for integers and rationals only. All operands must have the same type, and the result is a Boolean.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: Array membership tests `not in` and `in` are defined for all arrays. The type of the left-hand side must match the element type of the array. The result is a Boolean.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: An inclusive range membership test `x in a .. b` has the same meaning as the Boolean expression `x >= a and x <= b`. *(This means if a is less than b, it is not an error. Instead the result of such a test is always false.)*
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The meaning of the substring test is the usual. Note that the substring test is of course performed on the value of the string, not the original literal.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The array membership test `X in A` is equivalent to `(exists item in A => item == X)`. The array non-membership test `X not in A` is equivalent to `(forall item in A => item != X)`.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The binary adding operator `+` is defined for integers, rationals, and strings. The binary subtraction operator `-` is defined for only integers and rationals.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: When `+` is used to concatenate strings, the result is always a `String`, even if one or both operands if of type `Markup_String`. *(This means the only way you can create a markup string is when you construct it at record object declaration.)*
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: For binary adding operators the types of the operands have to match, and the result is the same type as the two operands. For unary adding operators the result is always the same as the operand.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The multiplying operators `*`, `/` are defined for integers and rational types. The remainder operator `%` is defined for integers only. For any of these the result is always the same type as the operands.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The modulus division for `x % y` satisfies the relation `x = y*N + (x % y)`, for some (signed) value of `N`, with one of the following constraints met:
bullets: `x % y` is `0`, `x % y` has the same sign as `y` and an absolute value less than `y`
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The exponentiation operator `**` is defined for integers and rational bases, and returns the same type as its base. The exponent type is always an Integer.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The right-hand side parameter of `**` must be a static compile-time constant, i.e. it must not depend on the value of a record field or the value of a quantified variable. It must not be negative.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: A quantified expression introduces a new name, that is valid only inside the predicate. This new name must not shadow any other. *(This means two separate quantified expressions may use the same name, but you may not nest and shadow, and you may not shadow a component name either.)*
text: For universal *(forall)* quantification the final value is true iff all predicates evaluate to true. *(This means universal quantification over an empty array is vacuously true.)*
text: For existential *(exists)* quantification the final value is true iff the predicate evaluate to true at least once. *(This means existential quantification over an empty array is vacuously false.)*
text: During evaluation of the quantified expression, each element of the array is evaluated in sequence and its value is bound to the declared name. The predicate is then evaluated with this binding.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: In general Quantification is equivalent to a chain of `and` or `or` expressions, however it is left unspecified if quantification is using short-circuit semantics or not. It is recommended (for sanity) to do the following:
bullets: For actual evaluation, use short-circuit semantics, as speed is important., For static analysis or linting, use non-short-circuit semantics, as using a quantifier as a complex guard is not reasonable.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The condition expressions must be of Boolean type. The dependent expressions must all be of the same type, and the type of the entire conditional expression is also of that type.
text: Each condition is evaluated in sequence. Evaluation stops on the first condition that evaluates to true; after which the corresponding dependent expression is evaluated and returned.
text: It is permitted to indicate a package that has not been declared in an `.rsl` file, in which case it is declared by the package_indication in the `.trlc` file. Such a package is declared late. If two `.trlc` files declare the same package, then it is unspecified which file actually declares it.
text: For TRLC files it is impossible fully parse a file in isolation, since we must process at least the package indication of every other trlc file to know which import statements are valid.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: The type of the declaration must be a valid, non-abstract record type. If no qualified name is given, the record type must be in the indicated package. *(Note that it is not legal to declare a tuple object.)*
text: The name of the declaration must be a unique name and sufficiently distinct in the current package. *(See name resolution for a definition of sufficiently distinct.)* The name of the declaration must not shadow a type name or package.
text: Each component name must be a valid, non-frozen component of the record type. It is an error to attempt to assign to a frozen component *(even if the value assigned would be the same value as it's frozen value)*.
text: Each enumeration must be a valid enumeration type in the indicated (or qualified) package. Each enumeration literal must be a valid literal of the indicated enumeration in the prefix.
text: The type of each value must match each component or array element type. Records are specified through references *(there is no way to specify an inline anonymous instance)*.
text: The aggregate of a tuple must use the correct form. A tuple without separators uses the bracket syntax (e.g. `(1, 2, 3)`, and a tuple with separators must use the separator syntax (e.g. `12345@42`).
text: A tuple value for a tuple with separators must contain the separator symbols as indicated in the type, in order. Optional fields and their preceding separator may be omitted. Once an optional field has been omitted, all following (optional) fields must also be omitted.
text: A record object declaration creates a new binding for a record. The value of any frozen components is the value provided in the freezing declaration. After references are resolved, all applicable checks on the object, including any checks for tuples, are evaluated in the context of this binding.
text: It is an error to refer to a record by name that does not exist. It is legal to refer to an record that has not been encountered yet, as references are resolved after parsing.
text: A record reference must match in type, i.e. be of the correct type or any record extension of that type. *(For example if RE extends R, then a list of R may contain references to instances of R and RE. A list of RE may not contain any references to R.)*
text: When declaring record objects there are wider rules that indicate name clashes. Specifically a record may not be declared if its "simplified name" clashes with any other "simplified name". A "simplified name" is the name converted to lowercase and all underscores removed.
text: For example the simplified name of `Foo_Bar` is `foobar` and therefore it clashes with `Foobar`, `F_Oobar`, or `Foo_B_A_R`. But only at record declaration; when referring to other object you still have to use a precise match.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: When exposing record instances through the API, it is required to make the type of the instance available. There are some alternatives, none of which are required:
bullets: Provide an implicit String record field named `type` that carries this information (it is safe to do that, as it is impossible to specify a record type with a field named `type`)., Provide a function or attribute that, when called, provides the type information., Provide the type information through the type system of the API language (e.g. the Python type system).
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: A `Markup_String` allows you to inline references to TRLC record in a string. The format is limited and simple: any name or comma-separated list of names enclosed in double square brackets (i.e. `[[` and `]]`) is considered a reference.
text: The fragment of BNF grammar applicable is qualified_name. The type of each named object must be a record type. *(This means you cannot reference types or enumerations.)*
text: The references are resolved late, just like an ordinary record reference. *(This means you can forward-reference objects, or reference yourself.)*
text: The name resolution rules for the qualified_name are exactly the same as they are for any other qualified_name. *(This means you need to import all packages from which you reference objects.)*
text: The literal null value is only permitted to appear in an equality or inequality. Any other context (such as `(if a then null else b)` is rejected statically.
text: For any other operator or operation, the null value is considered out of bounds and raises an error. *(This means you can check if something is null or not, but any other use will cause an error.)*
text: A record may only extend a different record type that does not eventually lead back to it. A record referring to itself directly or indirectly creates ambiguities.
Justifications:
Non-normative text
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is allowed for a record type to refer to a record type declared later in the same `.rsl` file, regardless of the order in which types are declared.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is allowed for a tuple field to refer to a record type declared later in the same `.rsl` file, regardless of the order in which types are declared.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is allowed for a union type to refer to a record type declared later in the same `.rsl` file, regardless of the order in which types are declared.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is recommended to resolve the forward references in an implementation. If the referenced type cannot be found, the implementation shall report a static error instead of accepting an unresolved or recursive reference.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC
text: It is recommended that the implementation must resolve every referenced name that is declared later in the same '.rsl' file before a type, record object, or check is accepted in '.rsl' file. The implementation shall report a static error if any required declaration cannot be found.
Issues:
missing reference to Code
missing reference to Test
Build Reference: main | Timestamp: 2026-11-23 14:30:10+00:00 UTC