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,23 @@
class A private constructor()
class B {
private companion object
}
class C(val x: Int)
class D private constructor() {
companion object
}
class E private constructor() {
companion object {
operator fun invoke(x: Int) = x
}
}
val a = <!INVISIBLE_MEMBER, FUNCTION_CALL_EXPECTED!>A<!>
<!EXPOSED_PROPERTY_TYPE!>val b = <!INVISIBLE_MEMBER!>B<!><!>
val c = <!NO_VALUE_FOR_PARAMETER, FUNCTION_CALL_EXPECTED!>C<!>
val d = D
val e = E(42)