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

Unified Diff: pkg/front_end/testcases/inference/string_literal.dart.direct.expect

Issue 2855403002: Type inference for StringConcatenation. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 7 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
Index: pkg/front_end/testcases/inference/string_literal.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/string_literal.dart.direct.expect b/pkg/front_end/testcases/inference/string_literal.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..741af39e960e9a19600aa0bb64b647aa5afb00a0
--- /dev/null
+++ b/pkg/front_end/testcases/inference/string_literal.dart.direct.expect
@@ -0,0 +1,13 @@
+library test;
+import self as self;
+
+static field dynamic x = 1;
+static field dynamic a = "aaa";
+static field dynamic b = "b ${self::x} bb";
+static field dynamic c = "c ${self::x} ccccc";
+static method main() → dynamic {
+ dynamic x = 1;
+ dynamic a = "aaa";
+ dynamic b = "b ${x} bb";
+ dynamic c = "c ${x} ccccc";
+}

Powered by Google App Engine
This is Rietveld 408576698