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

Issue 2825813002: Issue 29358. Fix for reporting constant errors while evaluating constructor invocations. (Closed)

Created:
3 years, 8 months ago by scheglov
Modified:
3 years, 8 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org, lukechurch
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Issue 29358. Fix for reporting constant errors while evaluating constructor invocations. We should not report errors in one file using offsets of node in another file. R=brianwilkerson@google.com BUG= https://github.com/dart-lang/sdk/issues/29358 Committed: https://github.com/dart-lang/sdk/commit/19353f9e633313e9b7452a51e9a80b09a16d25f0

Patch Set 1 #

Total comments: 4

Patch Set 2 : Restore TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -12 lines) Patch
M pkg/analyzer/lib/error/error.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/analysis/driver.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/dart/constant/evaluation.dart View 4 chunks +36 lines, -5 lines 0 comments Download
M pkg/analyzer/lib/src/error/codes.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/checked_mode_compile_time_error_code_test.dart View 1 chunk +19 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/compile_time_error_code_test.dart View 1 2 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
3 years, 8 months ago (2017-04-18 18:03:22 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2825813002/diff/1/pkg/analyzer/lib/src/error/codes.dart File pkg/analyzer/lib/src/error/codes.dart (right): https://codereview.chromium.org/2825813002/diff/1/pkg/analyzer/lib/src/error/codes.dart#newcode59 pkg/analyzer/lib/src/error/codes.dart:59: "Evaluation of this constant expression throws an exception."); ...
3 years, 8 months ago (2017-04-18 18:53:21 UTC) #2
scheglov
https://codereview.chromium.org/2825813002/diff/1/pkg/analyzer/lib/src/error/codes.dart File pkg/analyzer/lib/src/error/codes.dart (right): https://codereview.chromium.org/2825813002/diff/1/pkg/analyzer/lib/src/error/codes.dart#newcode59 pkg/analyzer/lib/src/error/codes.dart:59: "Evaluation of this constant expression throws an exception."); On ...
3 years, 8 months ago (2017-04-18 19:11:03 UTC) #3
scheglov
3 years, 8 months ago (2017-04-18 19:13:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
19353f9e633313e9b7452a51e9a80b09a16d25f0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698