Drop createQualifier: testData update

This commit is contained in:
Dmitry Petrov
2015-11-11 18:14:59 +03:00
parent 28d15e776a
commit 9856af48ca
47 changed files with 289 additions and 96 deletions
@@ -0,0 +1,9 @@
fun fn(): Nothing = throw java.lang.RuntimeException("oops")
val x = throw java.lang.RuntimeException("oops")
class SomeClass {
fun method() {
throw java.lang.AssertionError("!!!")
}
}
@@ -0,0 +1,12 @@
package
public val x: kotlin.Nothing
public fun fn(): kotlin.Nothing
public final class SomeClass {
public constructor SomeClass()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun method(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -0,0 +1,12 @@
// FILE: Test.java
public class Test {
public static final String FOO = "test";
}
// FILE: test.kt
fun ff() {
val a = Test.FOO
val b = <!FUNCTION_CALL_EXPECTED!>Test<!>?.<!UNRESOLVED_REFERENCE!>FOO<!>
System.out.println(a + <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>b<!>)
<!INVISIBLE_MEMBER, FUNCTION_CALL_EXPECTED!>System<!>?.<!UNRESOLVED_REFERENCE!>out<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>println<!>(a + <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>b<!>)
}
@@ -0,0 +1,13 @@
package
public fun ff(): kotlin.Unit
public open class Test {
public constructor Test()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public const final val FOO: kotlin.String = "test"
}