J2K - no '@' required for primary constructor annnotations

This commit is contained in:
Valentin Kipyatkov
2015-06-22 15:54:16 +03:00
parent 8e3c793760
commit 767e21db76
23 changed files with 39 additions and 23 deletions
@@ -1,7 +1,7 @@
// ERROR: Property must be initialized or be abstract
import A.Nested
class A @jvmOverloads constructor(nested: Nested = Nested(Nested.FIELD)) {
class A jvmOverloads constructor(nested: Nested = Nested(Nested.FIELD)) {
class Nested(p: Int) {
companion object {