Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Issue 22999022: Report compile-time errors for conflicting overrides as specified by latest (Closed)

Created:
7 years, 4 months ago by regis
Modified:
7 years, 3 months ago
Reviewers:
gbracha, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Lasse Reichstein Nielsen, ricow1, kustermann, floitsch, Søren Gjesse, ahe
Visibility:
Public.

Description

Report compile-time errors for conflicting overrides as specified by latest language spec (fix issue 12342). Add override conflict tests. Update status files. Add support for 'ok' status in multi-tests. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=26302

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -55 lines) Patch
M runtime/vm/class_finalizer.cc View 1 8 chunks +105 lines, -42 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A tests/language/field_override3_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/language/field_override4_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/language/getter_override2_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/language/getter_override_test.dart View 1 chunk +23 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 1 chunk +14 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 2 chunks +10 lines, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 1 chunk +14 lines, -0 lines 0 comments Download
A tests/language/method_override7_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/language/method_override8_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/language/setter_override2_test.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A tests/language/setter_override_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download
M tools/testing/dart/multitest.dart View 1 3 chunks +17 lines, -11 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
regis
I still need to mark failing tests for dart2js, dart2dart, and analyzer. Thanks, Regis
7 years, 4 months ago (2013-08-16 01:33:40 UTC) #1
hausner
LGTM. I would also ask Gilad whether he can LGTM the tests.
7 years, 4 months ago (2013-08-16 16:25:43 UTC) #2
regis
Thanks Matthias. Good point: Gilad, would you mind reviewing the new tests? Thanks. Cheers, Regis
7 years, 4 months ago (2013-08-16 16:51:36 UTC) #3
gbracha
See comments https://codereview.chromium.org/22999022/diff/1/tests/language/field_override3_test.dart File tests/language/field_override3_test.dart (right): https://codereview.chromium.org/22999022/diff/1/tests/language/field_override3_test.dart#newcode14 tests/language/field_override3_test.dart:14: set foo(value) { } This should be ...
7 years, 4 months ago (2013-08-16 18:34:48 UTC) #4
regis
Thanks! I have added 4 more tests for instance method, instance field, instance getter, and ...
7 years, 4 months ago (2013-08-16 23:18:30 UTC) #5
regis
Committed patchset #2 manually as r26302 (presubmit successful).
7 years, 4 months ago (2013-08-16 23:39:48 UTC) #6
ahe
7 years, 3 months ago (2013-08-28 13:10:43 UTC) #7
Message was sent while issue was closed.
DBC/FYI

Yay! Regis implemented "positive" multitests. This makes it much easier to cope
with bugs in various implementations (for example, I could have avoided creating
language/round_test yesterday :-)

https://codereview.chromium.org/22999022/diff/11001/tools/testing/dart/multit...
File tools/testing/dart/multitest.dart (right):

https://codereview.chromium.org/22999022/diff/11001/tools/testing/dart/multit...
tools/testing/dart/multitest.dart:80: ['ok', 'compile-time error', 'runtime
error',
This is really nice, and it would have been great if you had told Martin and
Rico about it.

Both Lasse and I have wanted to have this feature available for some time, but I
personally thought it would be more complicated.

Powered by Google App Engine
This is Rietveld 408576698