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

Unified Diff: pkg/kernel/testcases/type-propagation/async_function.baseline.txt

Issue 2781473004: Remove some additional code that depended on the old type propagation. (Closed)
Patch Set: Update fasta shadow AST Created 3 years, 9 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/kernel/testcases/type-propagation/async_function.baseline.txt
diff --git a/pkg/kernel/testcases/type-propagation/async_function.baseline.txt b/pkg/kernel/testcases/type-propagation/async_function.baseline.txt
deleted file mode 100644
index 673580784c2703cbe0b669901f92550af6ed0f4f..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/type-propagation/async_function.baseline.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-library;
-import self as self;
-import "dart:async" as asy;
-import "dart:core" as core;
-
-static field core::List<core::String>/core::List* {other} stringList = <dynamic>["bar"];
-static method asyncString() → asy::Future<core::String>/core::String* {string} async {
- return "foo";
-}
-static method asyncString2() → asy::Future<core::String>/core::String* {string} async {
- return self::asyncString();
-}
-static method syncStarString() → core::Iterable<core::String>/Null sync* {
- yield "foo";
- yield* self::syncStarString2();
- yield* self::stringList;
-}
-static method syncStarString2() → core::Iterable<core::String>/Null sync* {
- yield "foo";
-}
-static method asyncStarString() → asy::Stream<core::String>/Null async* {
- yield "foo";
- yield* self::asyncStarString2();
- yield await self::asyncString();
-}
-static method asyncStarString2() → asy::Stream<core::String>/Null async* {
- yield "bar";
-}
-static method main() → dynamic/Null async {
- core::String/core::Object* {*} str = await self::asyncString();
-}

Powered by Google App Engine
This is Rietveld 408576698