Chromium Code Reviews
DescriptionNew tests for initializing formal access.
This CL adds tests for previously uncovered elements of the semantics
and includes fixes such that the desired behavior is obtained. In
particular, an `isInitializingFormal` element may now occur in contexts
where it wasn't expected until now, and changes were made to handle it.
It is also checked that a capture of an initializing formal (in a
function literal) captures the parameter, not the field.
R=johnniwinther@google.com
Committed: https://github.com/dart-lang/sdk/commit/543a51ff3eb1488e2c1938bfcd8779f0d634900c
Patch Set 1 #Patch Set 2 : White space fix #
Total comments: 4
Patch Set 3 : Review response, just changing expected exception type #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||