Minor: test fixed

This commit is contained in:
Mikhail Glukhikh
2016-10-03 11:36:18 +03:00
parent 8ccc168b87
commit 3163d28b29
+1 -1
View File
@@ -1,5 +1,5 @@
// "Cast expression 'Foo<Number>()' to 'Foo<Int>'" "false"
// ACTION: Change 'foo' function return type to 'Foo<Number>'
// ACTION: Change return type of enclosing function 'foo' to 'Foo<Number>'
// ACTION: Convert to expression body
// ERROR: Type mismatch: inferred type is Foo<Number> but Foo<Int> was expected
class Foo<T>