Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
|
||||
fun run<T>(f: () -> T) = f()
|
||||
fun <T> run(f: () -> T) = f()
|
||||
|
||||
fun test() {
|
||||
run { <caret>Foo() }
|
||||
|
||||
Reference in New Issue
Block a user