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

Issue 10868069: Throw a runtime error when trying to call a constructor of a class that could not be resolved. (Closed)

Created:
8 years, 4 months ago by karlklose
Modified:
8 years, 3 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Throw a runtime error when trying to call a constructor of a class that could not be resolved. TESTS=language/call_constructor_on_unresolved_class_test BUG=3802 Committed: https://code.google.com/p/dart/source/detail?r=11497

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Address comments #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -37 lines) Patch
M corelib/src/exceptions.dart View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 3 9 chunks +47 lines, -25 lines 0 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 2 3 5 chunks +24 lines, -11 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A tests/language/call_constructor_on_unresolvable_class_test.dart View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
M tests/language/call_nonexistent_constructor_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/language.status View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
8 years, 4 months ago (2012-08-24 12:11:45 UTC) #1
ngeoffray
https://chromiumcodereview.appspot.com/10868069/diff/2001/lib/compiler/implementation/lib/js_helper.dart File lib/compiler/implementation/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/10868069/diff/2001/lib/compiler/implementation/lib/js_helper.dart#newcode777 lib/compiler/implementation/lib/js_helper.dart:777: * exception or it may be a Dart runtime ...
8 years, 4 months ago (2012-08-24 15:43:48 UTC) #2
karlklose
PTAL. https://chromiumcodereview.appspot.com/10868069/diff/2001/lib/compiler/implementation/lib/js_helper.dart File lib/compiler/implementation/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/10868069/diff/2001/lib/compiler/implementation/lib/js_helper.dart#newcode777 lib/compiler/implementation/lib/js_helper.dart:777: * exception or it may be a Dart ...
8 years, 3 months ago (2012-08-28 09:09:15 UTC) #3
ngeoffray
8 years, 3 months ago (2012-08-28 11:44:35 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698