Sign in
dart
/
sdk.git
/
refs/tags/2.19.0-32.0.dev
/
.
/
pkg
/
front_end
/
testcases
/
extensions
/
issue39527.dart.textual_outline.expect
blob: 586004b35816bc6e41eaaa9b6067cc00ad6822b4 [
file
] [
log
] [
blame
]
class
C
{
int
value
=
0
;
}
extension
Extension1
on C
{
C
operator
[](
int
index
)
=>
this
..
value
+=
index
+
1
;
void
operator
[]=(
int
index
,
C other
)
=>
this
.
value
+=
other
.
value
+
index
+
1
;
C
operator
-(
int
val
)
=>
this
;
}
main
()
{}