KT-9839: intention introduced: convert primary constructor to secondary one

(cherry picked from commit 93aaa48)
This commit is contained in:
Mikhail Glukhikh
2016-09-26 15:18:01 +03:00
committed by Mikhail Glukhikh
parent d4418d5686
commit 7f50e6e70e
39 changed files with 492 additions and 10 deletions
@@ -1,5 +1,6 @@
// "class org.jetbrains.kotlin.idea.quickfix.AddTypeAnnotationToValueParameterFix" "false"
// ERROR: A type annotation is required on a value parameter
// ACTION: Create test
// ACTION: Convert to secondary constructor
class Foo(val bar<caret>)
@@ -3,5 +3,6 @@
// ACTION: Make private
// ACTION: Make protected
// ACTION: Create test
// ACTION: Convert to secondary constructor
class C(<caret>val x: String) {
}