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

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: Address (some) review comments and update status file 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
« no previous file with comments | « dart/frog/leg/tree/visitors.dart ('k') | dart/tests/language/language-leg.status » ('j') | 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 7f3ff87c71aa550bd4ecc3c19babcda895c667e2..0b38475febba1608ff4ca852c946c6914c61c11d 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);
+ }
}
« no previous file with comments | « dart/frog/leg/tree/visitors.dart ('k') | dart/tests/language/language-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698