Sign in
dart
/
sdk.git
/
cd65076031d67dde752af5a4b8fe0224f9d2b5fb
/
.
/
pkg
/
front_end
/
testcases
/
inference_new
/
infer_assign_to_property_custom.dart.textual_outline.expect
blob: 7edc4ca5576f7afdef36e6ca96c126a37f9c3ae5 [
file
] [
log
] [
blame
]
library test
;
class
A
{
int
operator
+(
other
)
=>
1
;
double
operator
-(
other
)
=>
2.0
;
}
class
B
{
A a
;
}
var
v_prefix_pp
=
(++
new
B
().
a
);
var
v_prefix_mm
=
(--
new
B
().
a
);
var
v_postfix_pp
=
(
new
B
().
a
++);
var
v_postfix_mm
=
(
new
B
().
a
--);
main
()
{}