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

Unified Diff: test/codegen/misc.dart

Issue 1341963003: qualify core types: Object, Error, Symbol (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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
« lib/src/js/nodes.dart ('K') | « test/codegen/expect/misc.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/misc.dart
diff --git a/test/codegen/misc.dart b/test/codegen/misc.dart
index f40d220304fd42565de717dbf9e7046c52438eba..ef3730720691136e5428bd150120f87ae0d32130 100644
--- a/test/codegen/misc.dart
+++ b/test/codegen/misc.dart
@@ -41,6 +41,12 @@ const _escapeMap = const {
'\x7F': r'\x7F', // delete
};
+// Wacky but supported...
+class Symbol<T> {
+ final T _foo;
+ Symbol(this._foo);
+}
+
main() {
// Number literals in call expressions.
@@ -57,4 +63,6 @@ main() {
print(new Generic<int>().type);
print(new Derived() == new Derived()); // true
+
+ print(new Symbol<String>('hi')._foo);
}
« lib/src/js/nodes.dart ('K') | « test/codegen/expect/misc.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698