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

Issue 18555007: Bug fix in analysis engine, implementation of new error code to prevent type parameters in static m… (Closed)

Created:
7 years, 5 months ago by jwren
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Bug fix in analysis engine, implementation of new error code to prevent type parameters in static members R=brianwilkerson@google.com, scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=24718

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment from Konstantin- fix. #

Total comments: 4

Patch Set 3 : Rebase with master #

Patch Set 4 : #

Messages

Total messages: 7 (0 generated)
jwren
7 years, 5 months ago (2013-07-02 22:25:30 UTC) #1
scheglov
LGTM https://codereview.chromium.org/18555007/diff/1/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/18555007/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java#newcode4087 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java:4087: errorReporter.reportError(StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC, node); return true;
7 years, 5 months ago (2013-07-02 22:29:13 UTC) #2
jwren
https://codereview.chromium.org/18555007/diff/1/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/18555007/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java#newcode4087 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java:4087: errorReporter.reportError(StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC, node); On 2013/07/02 22:29:13, scheglov wrote: > return ...
7 years, 5 months ago (2013-07-02 22:34:03 UTC) #3
jwren
7 years, 5 months ago (2013-07-02 22:34:04 UTC) #4
Brian Wilkerson
LGTM, with or without changes https://codereview.chromium.org/18555007/diff/5001/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java File editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java (right): https://codereview.chromium.org/18555007/diff/5001/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java#newcode821 editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java:821: StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC); Could we remove ...
7 years, 5 months ago (2013-07-02 23:09:56 UTC) #5
jwren
https://codereview.chromium.org/18555007/diff/5001/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java File editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java (right): https://codereview.chromium.org/18555007/diff/5001/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java#newcode821 editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java:821: StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC); I had a similar thought, removing "static" yeilds ...
7 years, 5 months ago (2013-07-03 06:47:03 UTC) #6
jwren
7 years, 5 months ago (2013-07-03 06:48:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r24718 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698