Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// SHOULD_FAIL_WITH: Type arguments will be lost after conversion: foo<Double>()
|
||||
class A(val n: Int) {
|
||||
fun <caret>foo<T>(): Boolean = n > 1
|
||||
fun <T> <caret>foo(): Boolean = n > 1
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user