This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
8.5.1 Type promotion Sem / rule 8 / premise 2 "prime(Type2) can be promoted to prime(Type2')" Prepend "statEnv |-". (leftover from last year, comment #244) Example 2 "is promoted to" Change to "promotes to" "if the input value does not matches the target type." s/matches/match/ Sem 2 / rule 2 / premise 3 "statEnv |- Type1 != Type2" Delete "statEnv |-". (leftover from last year, comment #247) Sem 2 / rule 2 / premise 4 "Value1 cast as Type2 => Value2" Prepend "statEnv |-" (leftover from last year, comment #248) But you can't plop a (Formal) Value into a (Core) CastExpr. (ValueExpr, the operand of a CastExpr, does not derive Value.)
Fixed as suggested. Instead of the improper "Value1 cast as Type2 => Value2", uses a judgment which applies the casting rules from F&O. This judgment is also used in 4.12.3 Cast. - Jerome