Diagnostics for wrong inlinable usage
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Z(s: (Int) -> Int) {
|
||||
|
||||
}
|
||||
|
||||
public inline fun test(s : (Int) -> Int) {
|
||||
<!INVISIBLE_MEMBER_FROM_INLINE!>Z<!>(<!USAGE_IS_NOT_INLINABLE!>s<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user