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

Unified Diff: tests/language/deferred_no_prefix_test.dart

Issue 177543002: Constrain type annotations with deferred types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: tests/language/deferred_no_prefix_test.dart
diff --git a/tests/language/deferred_no_prefix_test.dart b/tests/language/deferred_no_prefix_test.dart
index 3fed27b2f70fc5e183cd898698ecdcbb848288b4..c1674ab312171111de9f698abf7a98af59732f86 100644
--- a/tests/language/deferred_no_prefix_test.dart
+++ b/tests/language/deferred_no_prefix_test.dart
@@ -9,4 +9,9 @@ import "dart:async";
const lazy = const DeferredLibrary('lib');
-void main() {}
+void main() {
+ lazy.load().then((_) { /// 01: continued
+ C c = new C(); /// 01: continued
+ print(c); /// 01: continued
+ }); /// 01: continued
+}

Powered by Google App Engine
This is Rietveld 408576698