Create from Usage: Use function form when rendering FunctionN types

#KT-7522 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-29 18:42:44 +03:00
parent 605802847a
commit 1d83d75a82
8 changed files with 55 additions and 20 deletions
@@ -1,7 +1,7 @@
// "Create member function 'foo'" "true"
class A<T>(val n: T) {
fun foo(t: T, s: String, function: Function1<T, T>): A<T> {
fun foo(t: T, s: String, function: (T) -> T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}