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

Unified Diff: dart/frog/leg/ssa/builder.dart

Issue 9185010: Cancel the compilation if the SSA builder attempts to visit a type annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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 | dart/frog/presubmit.py » ('j') | dart/frog/presubmit.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/ssa/builder.dart
diff --git a/dart/frog/leg/ssa/builder.dart b/dart/frog/leg/ssa/builder.dart
index bb9272ee6df5a13316d4fb19123c723cd524fde5..b99bd42296492039d753b8b4e1cff420f2c97205 100644
--- a/dart/frog/leg/ssa/builder.dart
+++ b/dart/frog/leg/ssa/builder.dart
@@ -1189,7 +1189,8 @@ class SsaBuilder implements Visitor {
}
visitTypeAnnotation(TypeAnnotation node) {
- // We currently ignore type annotations for generating code.
+ compiler.internalError('visiting type annotation in SSA builder',
+ node: node);
}
visitVariableDefinitions(VariableDefinitions node) {
« no previous file with comments | « no previous file | dart/frog/presubmit.py » ('j') | dart/frog/presubmit.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698