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

Issue 15797007: Report CompileTimeErrorCode for 'const' argument mismatch. (Closed)

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

Description

Report CompileTimeErrorCode for 'const' argument mismatch. R=brianwilkerson@google.com, jwren@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=23374

Patch Set 1 #

Total comments: 2

Messages

Total messages: 5 (0 generated)
scheglov
7 years, 6 months ago (2013-05-29 19:15:43 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/15797007/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java (right): https://codereview.chromium.org/15797007/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java#newcode833 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java:833: NOT_ENOUGH_REQUIRED_ARGUMENTS("%d required argument(s) expected, but only %d found"), ...
7 years, 6 months ago (2013-05-29 21:36:33 UTC) #2
jwren
On 2013/05/29 21:36:33, Brian Wilkerson wrote: > LGTM > > https://codereview.chromium.org/15797007/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java > File > editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java ...
7 years, 6 months ago (2013-05-29 21:45:22 UTC) #3
scheglov
Committed patchset #1 manually as r23374 (presubmit successful).
7 years, 6 months ago (2013-05-30 01:23:09 UTC) #4
scheglov
7 years, 6 months ago (2013-05-30 01:23:53 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/15797007/diff/1/editor/tools/plugins/com.goog...
File
editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
(right):

https://codereview.chromium.org/15797007/diff/1/editor/tools/plugins/com.goog...
editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java:833:
NOT_ENOUGH_REQUIRED_ARGUMENTS("%d required argument(s) expected, but only %d
found"),
On 2013/05/29 21:36:33, Brian Wilkerson wrote:
> nit: The message will read better when there are no required parameters if we
> remove the word "only" (there's another error/warning with the same problem
that
> I noticed this morning, which is why I noticed this).

Fixed here and in SWC.

Powered by Google App Engine
This is Rietveld 408576698