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

Unified Diff: pkg/compiler/lib/src/tree/unparser.dart

Issue 2128243002: Fixes bug in scoping for generic methods. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/generic_local_functions_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/tree/unparser.dart
diff --git a/pkg/compiler/lib/src/tree/unparser.dart b/pkg/compiler/lib/src/tree/unparser.dart
index 37838ebeb1c7fe311602fceeaba753f26c482333..12d4141cfce3958dc2e3ee21ac316cae62f16c62 100644
--- a/pkg/compiler/lib/src/tree/unparser.dart
+++ b/pkg/compiler/lib/src/tree/unparser.dart
@@ -260,6 +260,7 @@ class Unparser extends Indentation implements Visitor {
write(' ');
}
unparseFunctionName(node.name);
+ visit(node.typeVariables);
visit(node.parameters);
if (node.initializers != null) {
space();
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/generic_local_functions_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698