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

Issue 1778133002: Enumerate URIs of all types in type errors in order to help the user diagnose (Closed)

Created:
4 years, 9 months ago by regis
Modified:
4 years, 9 months ago
Reviewers:
srdjan, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Enumerate URIs of all types in type errors in order to help the user diagnose the error (it was previously only printed for types with identical names). Cleanup and simplify construction of type errors. R=hausner@google.com, srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/ba69c8a8983e0ed6bf3acc0866707da4e7725ea6

Patch Set 1 #

Total comments: 16

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -229 lines) Patch
M runtime/lib/errors.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M runtime/lib/errors_patch.dart View 1 chunk +10 lines, -35 lines 0 comments Download
M runtime/lib/object.cc View 1 8 chunks +30 lines, -37 lines 0 comments Download
M runtime/vm/aot_optimizer.cc View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 15 chunks +59 lines, -72 lines 0 comments Download
M runtime/vm/exceptions.h View 2 chunks +4 lines, -11 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 5 chunks +65 lines, -33 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 8 chunks +32 lines, -13 lines 0 comments Download
M runtime/vm/parser.cc View 3 chunks +6 lines, -9 lines 0 comments Download
M runtime/vm/symbols.h View 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
regis
4 years, 9 months ago (2016-03-09 22:14:49 UTC) #2
hausner
lgtm https://codereview.chromium.org/1778133002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1778133002/diff/1/runtime/vm/object.cc#newcode6164 runtime/vm/object.cc:6164: String::Handle(FunctionType::Handle( Indentation wrong, I think.
4 years, 9 months ago (2016-03-09 22:32:43 UTC) #3
srdjan
lgtm https://codereview.chromium.org/1778133002/diff/1/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/1778133002/diff/1/runtime/lib/object.cc#newcode158 runtime/lib/object.cc:158: location, AbstractType::Handle(), AbstractType::Handle(), AbstractType::Handle(zone) x 2 https://codereview.chromium.org/1778133002/diff/1/runtime/lib/object.cc#newcode273 runtime/lib/object.cc:273: ...
4 years, 9 months ago (2016-03-09 22:38:23 UTC) #4
regis
Thank you both. https://codereview.chromium.org/1778133002/diff/1/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/1778133002/diff/1/runtime/lib/object.cc#newcode158 runtime/lib/object.cc:158: location, AbstractType::Handle(), AbstractType::Handle(), On 2016/03/09 22:38:22, ...
4 years, 9 months ago (2016-03-09 23:15:41 UTC) #5
regis
4 years, 9 months ago (2016-03-09 23:16:52 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
ba69c8a8983e0ed6bf3acc0866707da4e7725ea6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698