[JS IR BE] fix default arguments lowering

This commit is contained in:
Anton Bannykh
2018-10-16 17:45:45 +03:00
parent e9c932260c
commit 3a105debb3
38 changed files with 124 additions and 129 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See KT-21968
interface A {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Foo {
fun foo(a: Double = 1.0): Double
}
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JVM
// See KT-15971
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface A {
fun visit(a:String, b:String="") : String = b + a
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Base {
fun bar(a: String = "abc"): String = a + " from interface"
}