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

Unified Diff: lib/core/bool.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ADded test expectations. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/lib/scalarlist_patch.dart ('k') | lib/core/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/bool.dart
diff --git a/lib/core/bool.dart b/lib/core/bool.dart
index 3225a9989978ca9d4a380f1b35574bef900fdcb6..e34b05829b4e6541c6dc0ff53eb0aecdfc4ed1e0 100644
--- a/lib/core/bool.dart
+++ b/lib/core/bool.dart
@@ -6,7 +6,7 @@
class bool {
factory bool._uninstantiable() {
- throw const UnsupportedOperationException(
+ throw new UnsupportedError(
"class bool cannot be instantiated");
}
}
« no previous file with comments | « lib/compiler/implementation/lib/scalarlist_patch.dart ('k') | lib/core/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698