dart-sdk/pkg/front_end/testcases/inference_new/infer_assign_to_property_custom.dart.textual_outline_modelled.expect

21 lines
272 B
Plaintext
Raw Normal View History

library test;
class A {
double operator -(other) => 2.0;
int operator +(other) => 1;
}
class B {
A a = throw '';
}
main() {}
var v_postfix_mm = (new B().a--);
var v_postfix_pp = (new B().a++);
var v_prefix_mm = (--new B().a);
var v_prefix_pp = (++new B().a);