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

Issue 633803002: Check parameter types when evaluating constants. (Closed)

Created:
6 years, 2 months ago by Paul Berry
Modified:
6 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Check parameter types when evaluating constants. R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=40978

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -51 lines) Patch
M pkg/analyzer/lib/options.dart View 3 chunks +10 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/analyzer_impl.dart View 4 chunks +29 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/error_formatter.dart View 5 chunks +11 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/generated/constant.dart View 8 chunks +44 lines, -20 lines 2 comments Download
M pkg/analyzer/lib/src/generated/error.dart View 5 chunks +15 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 chunk +7 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/all_the_rest.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 3 chunks +237 lines, -1 line 0 comments Download
M pkg/analyzer/test/options_test.dart View 2 chunks +7 lines, -0 lines 0 comments Download
M tests/language/language_analyzer2.status View 2 chunks +2 lines, -16 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Paul Berry
6 years, 2 months ago (2014-10-07 00:15:51 UTC) #2
Brian Wilkerson
I really don't want to add modes to the command-line analyzer. The other changes look ...
6 years, 2 months ago (2014-10-07 16:30:49 UTC) #3
Paul Berry
On 2014/10/07 16:30:49, Brian Wilkerson wrote: > I really don't want to add modes to ...
6 years, 2 months ago (2014-10-07 17:03:09 UTC) #4
Paul Berry
https://codereview.chromium.org/633803002/diff/1/pkg/analyzer/lib/src/generated/constant.dart File pkg/analyzer/lib/src/generated/constant.dart (right): https://codereview.chromium.org/633803002/diff/1/pkg/analyzer/lib/src/generated/constant.dart#newcode729 pkg/analyzer/lib/src/generated/constant.dart:729: if (!argumentValue.isNull && !argumentValue.type.isSubtypeOf(parameter.type)) { On 2014/10/07 16:30:48, Brian ...
6 years, 2 months ago (2014-10-07 17:03:37 UTC) #5
Brian Wilkerson
LGTM
6 years, 2 months ago (2014-10-07 19:01:57 UTC) #6
Paul Berry
6 years, 2 months ago (2014-10-07 20:51:35 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 40978 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698