54285d328f
In case of result difference the `-ide`-suffixed testdata is used. Actually the difference in results is more likely to be a bug but currently we are fixating at least some behaviour to protect from unexpected regressions in Ultra Light Classes. `object Local` were removed because there is no local objects in actual Kotlin syntax
36 lines
1.6 KiB
Plaintext
Vendored
36 lines
1.6 KiB
Plaintext
Vendored
public final class ParametersDisorderKt {
|
|
public static final fun global(@org.jetbrains.annotations.NotNull a: int, @org.jetbrains.annotations.NotNull b: float) : void {
|
|
}
|
|
public static final fun withDefault(@org.jetbrains.annotations.NotNull c: int, @org.jetbrains.annotations.NotNull d: java.lang.String) : void {
|
|
}
|
|
public static final fun withReceiver(@org.jetbrains.annotations.NotNull $this$withReceiver: java.lang.String, @org.jetbrains.annotations.NotNull a: int, @org.jetbrains.annotations.NotNull b: float) : void {
|
|
}
|
|
public static final fun call() : void {
|
|
global(2.2, 2)
|
|
withDefault("bbb")
|
|
"abc".withReceiver(1, 1.2)
|
|
Math.atan2(1.3, 3.4)
|
|
<anonymous class>("param1", "param2")
|
|
java.lang.String.format("%i %i %i", 1, 2, 3)
|
|
java.lang.String.format("%i %i %i", arrayOf(1, 2, 3))
|
|
java.lang.String.format("%i %i %i", arrayOf(1, 2, 3), arrayOf(4, 5, 6))
|
|
java.lang.String.format("%i %i %i", "".chunked(2).toTypedArray())
|
|
with(<init>(), {
|
|
"def".with2Receivers(8, 7.0)
|
|
})
|
|
}
|
|
public static final fun objectLiteral() : void {
|
|
anonymous object : Parent(b = 1, a = "foo") { }
|
|
}
|
|
}
|
|
|
|
public final class A {
|
|
public final fun with2Receivers(@org.jetbrains.annotations.NotNull $this$with2Receivers: java.lang.String, @org.jetbrains.annotations.NotNull a: int, @org.jetbrains.annotations.NotNull b: float) : void {
|
|
}
|
|
public fun A() = UastEmptyExpression
|
|
}
|
|
|
|
public class Parent {
|
|
public fun Parent(@org.jetbrains.annotations.NotNull a: java.lang.String, @org.jetbrains.annotations.NotNull b: int) = UastEmptyExpression
|
|
}
|