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

Unified Diff: test/codegen/functions.dart

Issue 1143253003: Check whether type parameters are loaded before emitting (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« lib/src/codegen/js_codegen.dart ('K') | « test/codegen/expect/functions.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/functions.dart
diff --git a/test/codegen/functions.dart b/test/codegen/functions.dart
new file mode 100644
index 0000000000000000000000000000000000000000..f8683bdb62081b08ffafaebfed6be368b1379934
--- /dev/null
+++ b/test/codegen/functions.dart
@@ -0,0 +1,10 @@
+List<Foo> bootstrap() {
+ return <Foo>[new Foo()];
+}
+
+class Foo {
+}
+
+void main() {
+ print(bootstrap()[0]);
+}
« lib/src/codegen/js_codegen.dart ('K') | « test/codegen/expect/functions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698