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
@@ -1,7 +1,7 @@
// "Create function 'plusAssign' from usage" "true"
class A<T>(val n: T) {
fun plusAssign(arg: T): Unit {
fun plusAssign(arg: T) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}