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

Side by Side Diff: pkg/kernel/testcases/strong-mode/external.baseline.txt

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
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4 import "dart:isolate" as iso;
5
6 static field dynamic subscription = null;
7 static method onData(dynamic x) → void {
8 core::print(x);
9 self::subscription.cancel();
10 }
11 static method main() → dynamic {
12 core::String string = core::String::fromCharCode(65);
13 iso::ReceivePort port = iso::ReceivePort::•();
14 self::subscription = port.{iso::ReceivePort::listen}(self::onData);
15 port.{iso::ReceivePort::sendPort}.{iso::SendPort::send}(string);
16 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/strong-mode/escape.baseline.txt ('k') | pkg/kernel/testcases/strong-mode/fallthrough.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698