function invocation with only type parameters prohibited
This commit is contained in:
@@ -3,5 +3,5 @@ import java.util.ArrayList
|
||||
class MyListOfPairs<T> : ArrayList<#(T, T)>() { }
|
||||
|
||||
fun test() {
|
||||
MyListOfPairs<Int> : ArrayList<#(Int, Int)>
|
||||
MyListOfPairs<Int>() : ArrayList<#(Int, Int)>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user