Prohibit val/vars/modifiers on secondary constructor parameter

#KT-6962 Fixed
This commit is contained in:
Denis Zharkov
2015-03-12 16:34:22 +03:00
parent 99fb75c943
commit 9e5192e0e3
10 changed files with 44 additions and 2 deletions
@@ -0,0 +1,4 @@
// "Remove 'val' from parameter" "true"
class A {
constructor(<caret>x: Int)
}
@@ -0,0 +1,4 @@
// "Remove 'val' from parameter" "true"
class A {
constructor(<caret>val x: Int)
}