Fix tests: "Placing function type parameters after the function name" error

This commit is contained in:
Yan Zhulanow
2015-11-26 15:56:31 +03:00
parent 3001af56c9
commit a3ff3ffc45
435 changed files with 550 additions and 569 deletions
@@ -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() {