FIR checker: report PROPERTY_AS_OPERATOR

This commit is contained in:
Tianyu Geng
2021-08-31 16:57:18 -07:00
committed by Mikhail Glukhikh
parent 4915d8dda3
commit 05fbed68e2
21 changed files with 154 additions and 27 deletions
-8
View File
@@ -1,8 +0,0 @@
// !LANGUAGE: +NewInference
val Int.plusAssign: (Int) -> Unit
get() = {}
fun main() {
1 += 2
}
+1
View File
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +NewInference
val Int.plusAssign: (Int) -> Unit