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

Unified Diff: pkg/front_end/testcases/shaker/typedefs_in_types.dart

Issue 3009803002: Mark types of Constructor parameters and preserve referenced typedefs. (Closed)
Patch Set: Created 3 years, 4 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
Index: pkg/front_end/testcases/shaker/typedefs_in_types.dart
diff --git a/pkg/front_end/testcases/shaker/typedefs_in_types.dart b/pkg/front_end/testcases/shaker/typedefs_in_types.dart
index 8e8ac5f588f5c658fb056609a996a27033ac030b..c640fc068d67016b2f27f9d5ba2ce3e67c55e050 100644
--- a/pkg/front_end/testcases/shaker/typedefs_in_types.dart
+++ b/pkg/front_end/testcases/shaker/typedefs_in_types.dart
@@ -5,4 +5,6 @@
import 'lib/lib.dart';
/// Kernel directly represents this as a type, so typedef is not preserved.
-foo(MyTypedef<dynamic> x) => null;
+foo(Typedef1<dynamic> x) => null;
Siggi Cherem (dart-lang) 2017/08/29 22:32:17 is there a way to get back Typedef1 from the type
scheglov 2017/08/29 22:38:54 Unfortunately at the moment we lose typedef rfrrre
+
+bar(Typedef2 x) => null;
« no previous file with comments | « pkg/front_end/testcases/shaker/lib/lib.dart ('k') | pkg/front_end/testcases/shaker/typedefs_in_types.dart.shaker » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698