FIR checker: Report VAL_OR_VAR_ON_*_PARAMETER.
This commit is contained in:
committed by
teamcityserver
parent
71c5c9f6c5
commit
af99ad0736
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun test(
|
||||
val f: String.() -> Int = { length }
|
||||
f: String.() -> Int = { length }
|
||||
): Int {
|
||||
return "".f()
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ interface <!CONSTRUCTOR_IN_INTERFACE!>A(val s: String)<!>
|
||||
interface <!CONSTRUCTOR_IN_INTERFACE!>B constructor(val s: String)<!>
|
||||
|
||||
interface C {
|
||||
<!CONSTRUCTOR_IN_INTERFACE!>constructor(val s: String)<!> {}
|
||||
<!CONSTRUCTOR_IN_INTERFACE!>constructor(s: String)<!> {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user