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

Issue 10896007: Expose remaining 'errors' in an unified dart:core. (Closed)

Created:
8 years, 3 months ago by Anders Johnsen
Modified:
8 years, 3 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Expose remaining 'errors' in an unified dart:core. This is a follow-up on my previous move of AssertionError. BUG= Committed: https://code.google.com/p/dart/source/detail?r=11513

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make all implementations implement, not extend, the exposed type. #

Total comments: 1

Patch Set 3 : Also expose FallThroughError. #

Total comments: 2

Patch Set 4 : Move errors to errors.dart in dart2js. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -72 lines) Patch
M corelib/src/errors.dart View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/core.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A lib/compiler/implementation/lib/errors.dart View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 2 3 3 chunks +24 lines, -17 lines 0 comments Download
M lib/compiler/implementation/lib/mock.dart View 1 2 3 1 chunk +0 lines, -26 lines 0 comments Download
M runtime/lib/error.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/lib/error.dart View 1 2 4 chunks +10 lines, -6 lines 0 comments Download
M runtime/vm/debugger.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/exceptions.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D tests/language/private_factory_resolution_negative_test.dart View 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Anders Johnsen
8 years, 3 months ago (2012-08-28 14:59:41 UTC) #1
Mads Ager (google)
Can we use the same extends/implements scheme in both dart2js and VM? https://chromiumcodereview.appspot.com/10896007/diff/1/lib/compiler/implementation/lib/mock.dart File lib/compiler/implementation/lib/mock.dart ...
8 years, 3 months ago (2012-08-28 15:16:51 UTC) #2
Anders Johnsen
PTAL https://chromiumcodereview.appspot.com/10896007/diff/1/lib/compiler/implementation/lib/mock.dart File lib/compiler/implementation/lib/mock.dart (right): https://chromiumcodereview.appspot.com/10896007/diff/1/lib/compiler/implementation/lib/mock.dart#newcode9 lib/compiler/implementation/lib/mock.dart:9: class TypeErrorImplementation extends TypeError { On 2012/08/28 15:16:51, ...
8 years, 3 months ago (2012-08-28 15:32:58 UTC) #3
Mads Ager (google)
I'm wondering about whether or not the user should be allowed to create these. He ...
8 years, 3 months ago (2012-08-28 16:01:46 UTC) #4
Mads Ager (google)
LGTM Having thought about this some more I think this is the right thing to ...
8 years, 3 months ago (2012-08-29 07:46:52 UTC) #5
Anders Johnsen
https://chromiumcodereview.appspot.com/10896007/diff/7001/lib/compiler/implementation/lib/mock.dart File lib/compiler/implementation/lib/mock.dart (right): https://chromiumcodereview.appspot.com/10896007/diff/7001/lib/compiler/implementation/lib/mock.dart#newcode9 lib/compiler/implementation/lib/mock.dart:9: class TypeErrorImplementation implements TypeError { On 2012/08/29 07:46:52, Mads ...
8 years, 3 months ago (2012-08-29 10:29:44 UTC) #6
Anders Johnsen
Understood now, PTAL.
8 years, 3 months ago (2012-08-29 11:52:45 UTC) #7
Mads Ager (google)
8 years, 3 months ago (2012-08-29 11:54:39 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698