SUPERTYPE_NOT_INITIALIZED_DEFAULT error removed

It was merged with SUPERTYPE_NOT_INITIALIZED.
This commit is contained in:
Wojciech Lopata
2013-02-21 09:59:41 +01:00
parent 881de132f7
commit 23ce144f9d
14 changed files with 79 additions and 30 deletions
@@ -0,0 +1,3 @@
// "Change to constructor invocation" "true"
open class A(x : Int = 42, vararg y : Int) {}
class B() : A<caret>() {}
@@ -0,0 +1,3 @@
// "Change to constructor invocation" "true"
open class A() {}
class B() : A<caret>() {}
@@ -0,0 +1,4 @@
// "Change to constructor invocation" "false"
// ERROR: This type has a constructor, and thus must be initialized here
open class A(x : Int) {}
class B : A<caret> {}
@@ -0,0 +1,3 @@
// "Change to constructor invocation" "true"
open class A(x : Int = 42, vararg y : Int) {}
class B() : A<caret> {}
@@ -0,0 +1,3 @@
// "Change to constructor invocation" "true"
open class A() {}
class B() : A<caret> {}