Fix operator warning on 'Constr()()'
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
fun testInvoke() {
|
||||
fun Nothing.invoke() = this
|
||||
operator fun Nothing.invoke() = this
|
||||
todo()<!UNREACHABLE_CODE!>()<!>
|
||||
}
|
||||
|
||||
fun testInvokeWithLambda() {
|
||||
fun Nothing.invoke(<!UNUSED_PARAMETER!>i<!>: Int, f: () -> Int) = f
|
||||
operator fun Nothing.invoke(<!UNUSED_PARAMETER!>i<!>: Int, f: () -> Int) = f
|
||||
todo()<!UNREACHABLE_CODE!>(1){ 42 }<!>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user