Commit Graph

5 Commits

Author SHA1 Message Date
regis@google.com 1b8e614d7d Change compile-time errors into dynamic errors in instance creation expression
(issue 3085).
Change compile-time errors into dynamic errors in static getter and setter
calls (issues 3088, 3094).
Fix a crash in flow graph builder for missing static getter (issue 4360).
Add support in VM for NoSuchMethodError.
Remove support in VM for StaticResolutionException.
Add, remove, update related language tests.
Triage related co19 tests.
Review URL: https://codereview.chromium.org//11049038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13208 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 00:15:38 +00:00
lrn@google.com f52c24b62f Rename NoSuchMethodException to NoSuchMethodError.
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.

Review URL: https://chromiumcodereview.appspot.com//10909166

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
karlklose@google.com 544b754a7d 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

Review URL: https://chromiumcodereview.appspot.com//10868069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11497 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:52:53 +00:00
kasperl@google.com 8bd4bf096b Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10891020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:11:41 +00:00
karlklose@google.com 6876052c30 Throw a NoSuchMethodException when attempting to call an undefined constructor.
R=ngeoffray@google.com
BUG=3802

Review URL: https://chromiumcodereview.appspot.com//10870037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11220 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 11:19:27 +00:00