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

Unified Diff: frog/leg/leg.dart

Issue 9086010: closure calls (just the invocation part). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test file. Created 8 years, 12 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 | « no previous file | frog/leg/namer.dart » ('j') | frog/leg/resolver.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/leg.dart
diff --git a/frog/leg/leg.dart b/frog/leg/leg.dart
index 1a18770bcf452e587431ec7b49c3b7dd425e70be..4f881ce02d534261113ba8ff03a2b6f0be9dffc4 100644
--- a/frog/leg/leg.dart
+++ b/frog/leg/leg.dart
@@ -25,6 +25,6 @@
final bool GENERATE_SSA_TRACE = false;
-void unreachable() {
- throw const Exception("Internal Error (Leg): UNREACHABLE");
+void unreachable([msg = "UNREACHABLE"]) {
kasperl 2012/01/05 07:01:52 msg -> message
floitsch 2012/01/05 12:18:38 Done.
ngeoffray 2012/01/05 14:05:46 Since we'll get rid of this method, I suggest you
floitsch 2012/01/24 13:28:37 Done.
+ throw new Exception("Internal Error (Leg): $msg");
}
« no previous file with comments | « no previous file | frog/leg/namer.dart » ('j') | frog/leg/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698