IDE testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create secondary constructor" "true"
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A: T
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create secondary constructor" "true"
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
class A: T {
|
||||
constructor(i: Int) {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create secondary constructor" "false"
|
||||
// ERROR: This class does not have a constructor
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create secondary constructor" "false"
|
||||
// ERROR: Too many arguments for public constructor Any() defined in kotlin.Any
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user