4289a9967b
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>
21 lines
454 B
Plaintext
21 lines
454 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class A extends core::Object {
|
|
synthetic constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
operator +(core::int i) → core::String
|
|
return "";
|
|
}
|
|
static method test(core::int i, core::String s, self::A a) → dynamic {
|
|
i = 1;
|
|
i = s;
|
|
i.==(null) ? i = 1 : null;
|
|
i.==(null) ? i = s : null;
|
|
a = new self::A::•();
|
|
a = a.+(1);
|
|
}
|
|
static method main() → dynamic {}
|