Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
studio-master-dev
/
.
/
idea
/
testData
/
quickfix
/
modifiers
/
operatorModifierComponent.kt.after
blob: 5aec69a8bedfc5eb40fc40734476a41b547c56ca [
file
] [
log
] [
blame
]
// "Add 'operator' modifier" "true"
// ERROR: 'operator' modifier is required on 'component2' in 'A'
class
A
{
operator
fun component1
():
Int
=
0
fun component2
():
Int
=
1
}
fun foo
()
{
val
(
zero
,
one
)
=
A
()
}