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

Issue 10575033: Implement override checks. (Closed)

Created:
8 years, 6 months ago by ahe
Modified:
8 years, 5 months ago
CC:
reviews_dartlang.org, floitsch, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Implement override checks. First attempt committed as: https://code.google.com/p/dart/source/detail?r=9108 Committed: https://code.google.com/p/dart/source/detail?r=9151

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : Fixing an issue with abstract. #

Patch Set 4 : Nice diagnostics #

Patch Set 5 : Update status file for VM and dartc #

Total comments: 2

Patch Set 6 : Rebased #

Patch Set 7 : Recreated after revert #

Patch Set 8 : Fix problem that caused an assertion failure (and revert of the first attempt) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -62 lines) Patch
M dart/lib/compiler/implementation/apiimpl.dart View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M dart/lib/compiler/implementation/compiler.dart View 1 2 3 4 5 5 chunks +15 lines, -1 line 0 comments Download
M dart/lib/compiler/implementation/dart2js.dart View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M dart/lib/compiler/implementation/elements/elements.dart View 1 2 3 4 5 6 7 7 chunks +27 lines, -17 lines 0 comments Download
M dart/lib/compiler/implementation/resolver.dart View 1 2 3 4 5 6 7 1 chunk +94 lines, -1 line 0 comments Download
M dart/lib/compiler/implementation/tree/nodes.dart View 1 2 3 2 chunks +16 lines, -2 lines 0 comments Download
M dart/lib/compiler/implementation/warnings.dart View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M dart/lib/isolate/frog/ports.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M dart/tests/co19/co19-leg.status View 1 2 7 chunks +0 lines, -22 lines 0 comments Download
A dart/tests/language/bad_override_test.dart View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M dart/tests/language/language.status View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M dart/tests/language/language_dart2js.status View 1 2 3 4 5 3 chunks +1 line, -14 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ahe
8 years, 6 months ago (2012-06-20 13:26:13 UTC) #1
karlklose
LGTM so far. https://chromiumcodereview.appspot.com/10575033/diff/1/dart/lib/compiler/implementation/resolver.dart File dart/lib/compiler/implementation/resolver.dart (right): https://chromiumcodereview.appspot.com/10575033/diff/1/dart/lib/compiler/implementation/resolver.dart#newcode262 dart/lib/compiler/implementation/resolver.dart:262: // But a field in this ...
8 years, 6 months ago (2012-06-20 13:51:31 UTC) #2
ahe
Hi Karl, Thank you for taking a look. I have uploaded a new version which ...
8 years, 6 months ago (2012-06-22 12:50:33 UTC) #3
ahe
Florian, Lasse: Karl already reviewed the resolution logic, but the diagnostic changes are fairly substantial, ...
8 years, 6 months ago (2012-06-25 12:53:00 UTC) #4
ahe
Hi Søren, I think Lasse and Florian are busy. Perhaps you have time to take ...
8 years, 6 months ago (2012-06-26 10:01:20 UTC) #5
Søren Gjesse
lgtm https://chromiumcodereview.appspot.com/10575033/diff/16001/dart/lib/compiler/implementation/warnings.dart File dart/lib/compiler/implementation/warnings.dart (right): https://chromiumcodereview.appspot.com/10575033/diff/16001/dart/lib/compiler/implementation/warnings.dart#newcode188 dart/lib/compiler/implementation/warnings.dart:188: static final NO_STATIC_OVERRIDE = const MessageKind( Maybe the ...
8 years, 6 months ago (2012-06-26 10:46:46 UTC) #6
floitsch
LGTM.
8 years, 6 months ago (2012-06-26 10:59:33 UTC) #7
ahe
https://chromiumcodereview.appspot.com/10575033/diff/16001/dart/lib/compiler/implementation/warnings.dart File dart/lib/compiler/implementation/warnings.dart (right): https://chromiumcodereview.appspot.com/10575033/diff/16001/dart/lib/compiler/implementation/warnings.dart#newcode188 dart/lib/compiler/implementation/warnings.dart:188: static final NO_STATIC_OVERRIDE = const MessageKind( Great idea! On ...
8 years, 6 months ago (2012-06-26 11:07:05 UTC) #8
ahe
I'll submit this TBR. Please take a look at these two patch sets which are ...
8 years, 5 months ago (2012-06-27 09:04:47 UTC) #9
floitsch
8 years, 5 months ago (2012-06-27 12:01:21 UTC) #10
LGTM.

Powered by Google App Engine
This is Rietveld 408576698