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

Side by Side Diff: pkg/front_end/testcases/external.dart.strong.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:isolate" as iso; 4 import "dart:isolate" as iso;
5 5
6 static field dynamic subscription = null; 6 static field dynamic subscription = null;
7 static method onData(dynamic x) → void { 7 static method onData(dynamic x) → void {
8 core::print(x); 8 core::print(x);
9 self::subscription.cancel(); 9 self::subscription.cancel();
10 } 10 }
11 static method main() → dynamic { 11 static method main() → dynamic {
12 core::String string = core::String::fromCharCode(65); 12 core::String string = core::String::fromCharCode(65);
13 iso::ReceivePort port = iso::ReceivePort::•(); 13 iso::ReceivePort port = iso::ReceivePort::•();
14 self::subscription = port.{iso::ReceivePort::listen}(self::onData); 14 self::subscription = port.{iso::ReceivePort::listen}(self::onData);
15 port.{iso::ReceivePort::sendPort}.{iso::SendPort::send}(string); 15 port.{iso::ReceivePort::sendPort}.{iso::SendPort::send}(string);
16 } 16 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/external.dart.outline.expect ('k') | pkg/front_end/testcases/fallthrough.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698