More cases supported for inline functions: namespace level functions with parameters (not blocks)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
fun box() : Boolean {
|
||||
return (!(A().myInlineMethod()))
|
||||
}
|
||||
|
||||
class A() {
|
||||
inline fun myInlineMethod() : Boolean {
|
||||
return false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user