Update lightclass tests renderer

+mute invalid old light classes tests
This commit is contained in:
Igor Yakovlev
2020-05-20 13:49:24 +03:00
parent c70383cc70
commit 309bf49a83
140 changed files with 1314 additions and 1191 deletions
+6 -6
View File
@@ -1,16 +1,16 @@
public class SimpleScript {
public final fun getBarOrNull(@org.jetbrains.annotations.NotNull flag: boolean) : SimpleScript.Bar {
return if (flag) <init>(42) else null
}
public static final fun main(@null p: java.lang.String[]) : void = UastEmptyExpression
public fun SimpleScript(@null p: java.lang.String[]) {
public fun SimpleScript(@null args: java.lang.String[]) {
println("Hello World!")
getBarOrNull(true)
println("Goodbye World!")
}
public static final fun main(@null args: java.lang.String[]) : void = UastEmptyExpression
public final fun getBarOrNull(@org.jetbrains.annotations.NotNull flag: boolean) : SimpleScript.Bar {
return if (flag) <init>(42) else null
}
public static final class Bar {
@org.jetbrains.annotations.NotNull private final var b: int = 0
@org.jetbrains.annotations.NotNull private final var a: int
@org.jetbrains.annotations.NotNull private final var b: int = 0
public final fun getB() : int = UastEmptyExpression
public final fun getAPlusB() : int {
return a + b