A "return" statement in an "at" expression should not be interpreted as the value being computed, but as a return from the enclosing method, and treated accordingly

Description

A "return" statement in an "at" expression should not be interpreted as the value being computed, but as a return from the enclosing method, and treated accordingly. The code below compiles and runs, while it should produce an error in the body of "at" (because no value is computed).

Environment

None

Status

Assignee

Unassigned

Reporter

Igor Peshansky

Labels

None

Fix versions

Affects versions

Priority

High
Configure