Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes

This commit is contained in:
Mikhail Glukhikh
2015-08-06 15:46:37 +03:00
parent 8405a9a021
commit fe716d7e56
11 changed files with 57 additions and 45 deletions
@@ -4,9 +4,9 @@
// ERROR: No value passed for parameter foo
enum class E {
A
B
C
A,
B,
C;
val t: Int = <caret>foo
}
@@ -4,9 +4,9 @@
// ERROR: No value passed for parameter foo
enum class E(foo: Int) {
A : E()
B : E()
C : E()
A(),
B(),
C();
val t: Int = foo
}
@@ -4,9 +4,9 @@
// ERROR: No value passed for parameter foo
enum class E {
A
A,
B {
val t: Int = <caret>foo
}
},
C
}
@@ -4,9 +4,9 @@
// ERROR: No value passed for parameter foo
enum class E(val foo: Int) {
A : E()
B : E() {
A(),
B() {
val t: Int = foo
}
C : E()
},
C()
}