Inline function: add extra tests taken from intellij-community
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
fun foo(fe: Int) {
|
||||
println(fe)
|
||||
}
|
||||
|
||||
fun bar(br: Boolean) {
|
||||
val fe = 0
|
||||
if (br) {
|
||||
foo(fe)
|
||||
}
|
||||
else {
|
||||
<caret>foo(11)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user