Table of Contents

5.5.1 Let-coercion

Note

This section describes the implementation of MS-VBAL §5.5.1 Let-coercion.

Let-coercion is the implicit conversion applied to an operand, or to an assignment RHS, so that its value fits a required destination declared type. Its run-time semantics are specified in RD-VBAL §5.5.1.2 Runtime semantics.

Parentheses that are not around an operand of an operator are an explicit let-coercion operator in the syntax tree ("__c()_op", UnaryLetCoerceOperatorStaticSemantics): the coercion to a value that MS-VBAL §5.6.6 gives a parenthesized expression is written out, which makes it a language core extension (RD-VBAL §1.1.2 Language Core Extensions). See RD-VBAL §3.3.1 Unary Operators.


In this section

§ Title MS-VBAL
5.5.1.1 Static semantics §5.5.1.1
5.5.1.2 Runtime semantics §5.5.1.2