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

Unified Diff: lib/src/compiler/code_generator.dart

Issue 1935823002: include type parameters on generic sync/async functions (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | test/codegen/language/generic_async_star_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/code_generator.dart
diff --git a/lib/src/compiler/code_generator.dart b/lib/src/compiler/code_generator.dart
index d66350c1637a243609c3bc645493fe138668693d..b41844e62c8a963be1b1f0aae0e0f2e9d5d10ebc 100644
--- a/lib/src/compiler/code_generator.dart
+++ b/lib/src/compiler/code_generator.dart
@@ -1881,6 +1881,7 @@ class CodeGenerator extends GeneralizingAstVisitor
new JS.Block([
_emitGeneratorFunctionBody(element, parameters, body).toReturn()
]),
+ typeParams: _emitTypeFormals(type.typeFormals),
returnType: emitTypeRef(type.returnType));
}
« no previous file with comments | « no previous file | test/codegen/language/generic_async_star_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698