tests for obsolete tasks
#KT-2445 fixed #KT-2459 fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//KT-2459 Type inference error
|
||||
package b
|
||||
|
||||
import java.util.*
|
||||
|
||||
class B<T>(val x: List<T>)
|
||||
fun <T> f(x: T): B<T> = B(arrayList(x))
|
||||
|
||||
// from standard library
|
||||
fun arrayList<T>(vararg <!UNUSED_PARAMETER!>values<!>: T) : ArrayList<T> {<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
Reference in New Issue
Block a user