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

Issue 2117513002: More extensive error handling for 'unresolved' cases. (Closed)

Created:
4 years, 5 months ago by asgerf
Modified:
4 years, 5 months ago
Reviewers:
ahe, kasperl
CC:
rasta-dart+reviews_googlegroups.com
Base URL:
git@github.com:dart-lang/rasta.git@master
Target Ref:
refs/heads/master
Project:
Rasta
Visibility:
Public.

Description

More extensive error handling for 'unresolved' cases. Rasta now has its own Accessors with proper error handling. They are currently only used for unresolved cases. There is a corresponding CL to kernel with some changes to accessors to allow this. There seem to be some bits of information missing for quality error messages in some cases, like, for 'unresolvedGet' it is not clear if the getter should be a top-level getter, or static class getter, or something else. R=ahe@google.com Committed: https://github.com/dart-lang/rasta/commit/60a12d7a5c0c0689d35a79d1ff174e640a28d7fb

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 2

Patch Set 3 : Fix long line #

Patch Set 4 : Update kernel submodule #

Patch Set 5 : Update submodules.txt #

Patch Set 6 : Merge and update test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+780 lines, -307 lines) Patch
M dart_vm_standalone/rasta_errors.dart View 1 2 2 chunks +155 lines, -1 line 0 comments Download
A lib/accessors.dart View 1 2 3 4 5 1 chunk +143 lines, -0 lines 0 comments Download
M lib/kernel.dart View 1 2 3 4 5 1 chunk +48 lines, -9 lines 0 comments Download
M lib/kernel_visitor.dart View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M lib/unresolved.dart View 1 7 chunks +258 lines, -119 lines 0 comments Download
M submodules.txt View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/issue_000006.dart.txt View 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/issue_000011.dart.txt View 1 chunk +0 lines, -1 line 0 comments Download
M test/kernel/regression/issue_000025.dart.txt View 1 chunk +0 lines, -1 line 0 comments Download
M test/kernel/regression/issue_000026.dart.txt View 1 chunk +0 lines, -1 line 0 comments Download
M test/kernel/regression/malformed_function_type.dart.txt View 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/mixin_library.dart.txt View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/parser_error.dart.txt View 1 chunk +2 lines, -1 line 0 comments Download
M test/kernel/regression/static.dart.txt View 2 chunks +24 lines, -24 lines 0 comments Download
M test/kernel/regression/super.dart.txt View 4 chunks +82 lines, -82 lines 0 comments Download
M test/kernel/regression/super_operator.dart.txt View 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/supports_reflection.dart.txt View 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/type_literals.dart.txt View 1 chunk +58 lines, -58 lines 0 comments Download
M test/kernel/regression/typedef.dart.txt View 1 chunk +1 line, -1 line 0 comments Download
M test/kernel/regression/unresolved_for_in.dart.txt View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
asgerf
4 years, 5 months ago (2016-06-30 16:16:56 UTC) #4
ahe
lgtm https://codereview.chromium.org/2117513002/diff/20001/dart_vm_standalone/rasta_errors.dart File dart_vm_standalone/rasta_errors.dart (right): https://codereview.chromium.org/2117513002/diff/20001/dart_vm_standalone/rasta_errors.dart#newcode180 dart_vm_standalone/rasta_errors.dart:180: return new NoSuchMethodError(receiver, methodName, arguments, namedArguments, existingArgumentNames); Long ...
4 years, 5 months ago (2016-07-01 08:48:40 UTC) #5
asgerf
https://codereview.chromium.org/2117513002/diff/20001/dart_vm_standalone/rasta_errors.dart File dart_vm_standalone/rasta_errors.dart (right): https://codereview.chromium.org/2117513002/diff/20001/dart_vm_standalone/rasta_errors.dart#newcode180 dart_vm_standalone/rasta_errors.dart:180: return new NoSuchMethodError(receiver, methodName, arguments, namedArguments, existingArgumentNames); On 2016/07/01 ...
4 years, 5 months ago (2016-07-01 09:32:25 UTC) #6
asgerf
4 years, 5 months ago (2016-07-01 10:06:41 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
60a12d7a5c0c0689d35a79d1ff174e640a28d7fb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698