SUPERTYPE_NOT_INITIALIZED_DEFAULT error removed
It was merged with SUPERTYPE_NOT_INITIALIZED.
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
// "Change to constructor invocation" "true"
|
||||
open class A(x : Int = 42, vararg y : Int) {}
|
||||
class B() : A<caret>() {}
|
||||
+3
@@ -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> {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// "Change to constructor invocation" "true"
|
||||
open class A(x : Int = 42, vararg y : Int) {}
|
||||
class B() : A<caret> {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// "Change to constructor invocation" "true"
|
||||
open class A() {}
|
||||
class B() : A<caret> {}
|
||||
Reference in New Issue
Block a user