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

Issue 14622019: Report CompileTimeErrorCode.SUPER_IN_INVALID_CONTEXT (Closed)

Created:
7 years, 7 months ago by scheglov
Modified:
7 years, 7 months ago
Reviewers:
jwren, Brian Wilkerson
CC:
reviews_dartlang.org, lukeechurch_gmail.com
Visibility:
Public.

Description

Report CompileTimeErrorCode.SUPER_IN_INVALID_CONTEXT R=brianwilkerson@google.com, jwren@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=22694

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check for all 'super' expressions. Don't resolve methods/accessors if invalid. #

Messages

Total messages: 6 (0 generated)
scheglov
7 years, 7 months ago (2013-05-14 02:19:55 UTC) #1
jwren
On 2013/05/14 02:19:55, scheglov wrote: LGTM
7 years, 7 months ago (2013-05-14 06:51:34 UTC) #2
Brian Wilkerson
Needs additional checks or slight re-work. https://codereview.chromium.org/14622019/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java (right): https://codereview.chromium.org/14622019/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java#newcode668 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java:668: if (checkForSuperInInvalidContext(target)) { ...
7 years, 7 months ago (2013-05-14 14:56:07 UTC) #3
scheglov
PTAL https://codereview.chromium.org/14622019/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java (right): https://codereview.chromium.org/14622019/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java#newcode668 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ElementResolver.java:668: if (checkForSuperInInvalidContext(target)) { On 2013/05/14 14:56:07, Brian Wilkerson ...
7 years, 7 months ago (2013-05-14 16:57:32 UTC) #4
Brian Wilkerson
LGTM
7 years, 7 months ago (2013-05-14 17:17:13 UTC) #5
scheglov
7 years, 7 months ago (2013-05-14 18:14:00 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r22694 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698