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

Issue 14985013: Report CompileTimeErrorCode.CONST_WITH_UNDEFINED_CONSTRUCTOR (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.CONST_WITH_UNDEFINED_CONSTRUCTOR R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=22631

Patch Set 1 #

Patch Set 2 : tweak #

Total comments: 2

Messages

Total messages: 4 (0 generated)
scheglov
7 years, 7 months ago (2013-05-11 22:28:26 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/14985013/diff/3001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java (right): https://codereview.chromium.org/14985013/diff/3001/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java#newcode430 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java:430: checkForConstWithUndefinedConstructor(node); There are two methods so far that ...
7 years, 7 months ago (2013-05-13 13:58:02 UTC) #2
scheglov
Committed patchset #2 manually as r22631 (presubmit successful).
7 years, 7 months ago (2013-05-13 16:23:07 UTC) #3
scheglov
7 years, 7 months ago (2013-05-13 16:23:42 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/14985013/diff/3001/editor/tools/plugins/com.g...
File
editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java
(right):

https://codereview.chromium.org/14985013/diff/3001/editor/tools/plugins/com.g...
editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java:430:
checkForConstWithUndefinedConstructor(node);
On 2013/05/13 13:58:02, Brian Wilkerson wrote:
> There are two methods so far that both check for 'const'. It would be more
> efficient to check for 'const' one time here rather than once per method.

Done.

Powered by Google App Engine
This is Rietveld 408576698