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

Unified Diff: lib/src/info.dart

Issue 1756563002: Fix #465 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Format Created 4 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/info.dart
diff --git a/lib/src/info.dart b/lib/src/info.dart
index 0a786c0cef791e4bbc9d56b4441661cbf2e27733..ec0f3f3a50003c01afc93d139870c862f9ea2cb2 100644
--- a/lib/src/info.dart
+++ b/lib/src/info.dart
@@ -99,4 +99,14 @@ class _AstCloner extends AstCloner {
clone.propagatedType = node.propagatedType;
return clone;
}
+
+ // TODO(vsm): ResolutionCopier is apparently not copying the type here
+ // either.
+ @override
+ AdjacentStrings visitAdjacentStrings(AdjacentStrings node) {
vsm 2016/03/01 20:46:51 Should this be fixed upstream?
Jennifer Messerly 2016/03/01 20:51:10 Yeah, want me to do that? BTW, you can probably d
+ var clone = super.visitAdjacentStrings(node);
+ clone.staticType = node.staticType;
+ clone.propagatedType = node.propagatedType;
+ return clone;
+ }
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698