Quick Fixes: Add test for KT-6430 (Create parameter quick fix inserts platform types into Kotlin code)

This commit is contained in:
Alexey Sedunov
2014-12-09 11:23:54 +03:00
parent 8cc3af99a0
commit b1f82d7a23
4 changed files with 27 additions and 1 deletions
@@ -0,0 +1,4 @@
// "Create parameter 's'" "true"
// ERROR: Unresolved reference: s
fun foo(s: String?) = C(s)
@@ -0,0 +1,4 @@
// "Create parameter 's'" "true"
// ERROR: Unresolved reference: s
fun foo() = C(<caret>s)
@@ -0,0 +1,3 @@
class C {
C(String s) {}
}