Create From Usage: Generate Unit-typed declaration if result is unused

#KT-5903 Fixed
This commit is contained in:
Alexey Sedunov
2014-10-03 16:42:44 +04:00
parent a3a0edca58
commit 497e4fab79
9 changed files with 66 additions and 16 deletions
@@ -0,0 +1,5 @@
// "Create function 'foo' from usage" "true"
fun test() {
<caret>foo(2, "2")
}