Ben Konyi
|
143baba8fc
|
Reintroducing parser changes to cause compile-time errors when trying to reinitialize a final field. Updated status files to hopefully address the test failures. Issue 29658.
This reverts commit 12e93cc41e.
BUG=
R=zra@google.com
Review-Url: https://codereview.chromium.org/2953843003 .
|
2017-06-22 13:48:57 -07:00 |
|
Alan Knight
|
12e93cc41e
|
Revert "Updated parser to produce error when trying to reinitialize final variables in class constructors. Fixes issue #29658."
This reverts commit 9755a98b00.
BUG=
Review-Url: https://codereview.chromium.org/2949943002 .
|
2017-06-20 15:25:55 -07:00 |
|
Ben Konyi
|
9755a98b00
|
Updated parser to produce error when trying to reinitialize final variables in class constructors. Fixes issue #29658.
BUG=
R=zra@google.com
Example:
Foo {
final int x = 10;
Foo(this.x); // Error
Foo.named() : x = 42; // Error
}
Review-Url: https://codereview.chromium.org/2947043002 .
|
2017-06-20 14:40:36 -07:00 |
|
Ben Konyi
|
a4a227e375
|
Revert "Updated parser to produce error when trying to reinitialize final variables in class constructors. Fixes issue #29658."
This reverts commit b5cff3f68f.
TBR=zra@google.com
Review-Url: https://codereview.chromium.org/2944223002 .
|
2017-06-19 17:23:01 -07:00 |
|
Ben Konyi
|
63be906fb6
|
Updated tests that had incorrect annotations which were causing test failures, and updated co19 status file to expect CompileTimeError for some additional tests.
BUG=
R=sivachandra@google.com
Review-Url: https://codereview.chromium.org/2950683002 .
|
2017-06-19 15:49:10 -07:00 |
|
Ben Konyi
|
b5cff3f68f
|
Updated parser to produce error when trying to reinitialize final variables in class constructors. Fixes issue #29658.
BUG=
R=asiva@google.com
Example:
Foo {
final int x = 10;
Foo(this.x); // Error
Foo.named() : x = 42; // Error
}
Review-Url: https://codereview.chromium.org/2939553005 .
|
2017-06-19 12:07:37 -07:00 |
|