KJS: fix compiler crash when using inline function inside string template
#KT-12586 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
inline fun foo(): Any? = "foo()"
|
||||
|
||||
fun box(): String {
|
||||
assertEquals("foo()", "${foo()}")
|
||||
assertEquals("aaa foo() bb", "aaa ${foo()} bb")
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user