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

Issue 1661853005: Introduce getPrefixEndToken to avoid too big context in messages. (Closed)

Created:
4 years, 10 months ago by Johnni Winther
Modified:
4 years, 10 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce getPrefixEndToken to avoid too big context in messages. R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/fcad7b6b5b305f2c7ae87b63b70847a25cf39052

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comments. #

Total comments: 4

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -138 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 2 3 chunks +15 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/diagnostics/source_span.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 chunk +1 line, -8 lines 0 comments Download
M pkg/compiler/lib/src/tree/nodes.dart View 1 2 5 chunks +38 lines, -1 line 0 comments Download
M tests/compiler/dart2js/diagnostic_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
A tests/compiler/dart2js/message_span_test.dart View 1 1 chunk +182 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/type_variable_bound_test.dart View 1 8 chunks +121 lines, -124 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Johnni Winther
4 years, 10 months ago (2016-02-04 10:53:57 UTC) #2
ahe
lgtm https://codereview.chromium.org/1661853005/diff/1/pkg/compiler/lib/src/tree/nodes.dart File pkg/compiler/lib/src/tree/nodes.dart (right): https://codereview.chromium.org/1661853005/diff/1/pkg/compiler/lib/src/tree/nodes.dart#newcode153 pkg/compiler/lib/src/tree/nodes.dart:153: /// start of a class body for a ...
4 years, 10 months ago (2016-02-04 11:32:33 UTC) #3
Johnni Winther
PTAL The changes uncovered a bug in TypeAnnotation.getEndToken() and the solution triggered assertion failures.. https://codereview.chromium.org/1661853005/diff/1/pkg/compiler/lib/src/tree/nodes.dart ...
4 years, 10 months ago (2016-02-05 09:14:20 UTC) #4
ahe
lgtm https://codereview.chromium.org/1661853005/diff/20001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/1661853005/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode1803 pkg/compiler/lib/src/compiler.dart:1803: return sought.stringValue == '>'; Also look at character ...
4 years, 10 months ago (2016-02-08 14:40:13 UTC) #5
ahe
A thought for future consideration: instead of using real diagnostic messages, it might be nice ...
4 years, 10 months ago (2016-02-08 14:41:58 UTC) #6
Johnni Winther
https://codereview.chromium.org/1661853005/diff/20001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/1661853005/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode1803 pkg/compiler/lib/src/compiler.dart:1803: return sought.stringValue == '>'; On 2016/02/08 14:40:13, ahe wrote: ...
4 years, 10 months ago (2016-02-09 11:59:58 UTC) #7
Johnni Winther
4 years, 10 months ago (2016-02-10 08:27:42 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
fcad7b6b5b305f2c7ae87b63b70847a25cf39052 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698