Fixed KT-5985 Smart completion does not insert comma for constructor of nested data class

#KT-5985 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-10-20 19:06:21 +04:00
parent f64f08c9b6
commit a84488f59a
3 changed files with 30 additions and 3 deletions
@@ -0,0 +1,9 @@
class Outer {
private data class Nested(val v: Int, val v2: Int)
fun foo(p: Int): Inner {
return Outer.Nested(<caret>)
}
}
// ELEMENT: p
@@ -0,0 +1,9 @@
class Outer {
private data class Nested(val v: Int, val v2: Int)
fun foo(p: Int): Inner {
return Outer.Nested(p, <caret>)
}
}
// ELEMENT: p