Files
sdk/pkg/front_end/testcases/arithmetic.dart.strong.transformed.expect
T
Samir Jindel 4289a9967b Check expected outputs of transforms.
Change-Id: I56ff4d4391b7a22d709dc60b696646895928e34c
Reviewed-on: https://dart-review.googlesource.com/46100
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
2018-03-15 12:11:13 +00:00

19 lines
491 B
Plaintext

library;
import self as self;
import "dart:core" as core;
static method foo(core::int x, core::int y) → core::int {
core::int z = x.{core::num::+}(y);
return z.{core::int::<<}(4);
}
static method loop(core::List<dynamic> xs) → void {
core::int _ = xs.{core::List::length};
for (core::int i = 0; i.{core::num::<}(xs.{core::List::length}); i = i.{core::num::+}(1)) {
}
}
static method main() → dynamic {
self::foo(4, 5);
self::foo(6, 7);
self::loop(<dynamic>["dfg"]);
}