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

Unified Diff: tests/language/regress_21912_test.dart

Issue 1143003007: Fix handling of nested typedefs (for real this time). (Closed) Base URL: git@github.com:dart-lang/sdk.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
« no previous file with comments | « pkg/analyzer/test/generated/static_type_warning_code_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/regress_21912_test.dart
diff --git a/tests/language/regress_21912_test.dart b/tests/language/regress_21912_test.dart
index a97888289d53070368c2e9b85ac6485a648ef796..8a7151bcf0cd80939f8194684929aa14af69f828 100644
--- a/tests/language/regress_21912_test.dart
+++ b/tests/language/regress_21912_test.dart
@@ -16,7 +16,7 @@ void main() {
Function2<Function2<A, B>, Function2<B, A>> t1;
Function2<AToB, BToA> t2;
Function2<Function2<int, double>, Function2<int, double>> left;
- left = t1; /// 01: ok
- left = t2; /// 02: ok
+ left = t1; /// 01: static type warning
+ left = t2; /// 02: static type warning
}
}
« no previous file with comments | « pkg/analyzer/test/generated/static_type_warning_code_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698