DescriptionUpdate test for assignment to final variables
The latest spec (0.51) says:
Attempting to assign to a final variable anywhere except in its
declaration or in a constructor header will cause a runtime error to
be thrown as discussed below. The assignment will also give rise to a
static warning.
R=ahe@google.com
BUG=7062, 11591
Committed: https://code.google.com/p/dart/source/detail?r=26519
Patch Set 1 #Patch Set 2 : Removed final_var_negative_test.dart #
Messages
Total messages: 4 (0 generated)
|