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

Unified Diff: dart/frog/leg/typechecker.dart

Issue 8993009: Implement string interpolation up to SSA. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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
« dart/frog/leg/scanner/scanner.dart ('K') | « dart/frog/leg/tree/visitors.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/typechecker.dart
diff --git a/dart/frog/leg/typechecker.dart b/dart/frog/leg/typechecker.dart
index bd0d8d11bc90eb762b05359e9d9f02050b7bdfe0..e0b95b8ad0ba0fd3d1b24d1228778a22e201b400 100644
--- a/dart/frog/leg/typechecker.dart
+++ b/dart/frog/leg/typechecker.dart
@@ -532,4 +532,13 @@ class TypeCheckerVisitor implements Visitor<Type> {
return objectType;
}
}
+
+ visitStringInterpolation(StringInterpolation node) {
+ node.visitChildren(this);
+ return stringType;
+ }
+
+ visitStringInterpolationPart(StringInterpolationPart node) {
+ node.visitChildren(this);
+ }
}
« dart/frog/leg/scanner/scanner.dart ('K') | « dart/frog/leg/tree/visitors.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698