KT-287 Infer constructor type arguments
More test data
This commit is contained in:
@@ -3,3 +3,9 @@ import java.util.*
|
||||
|
||||
fun attributes() : Map<String, String> = HashMap() // Should be inferred;
|
||||
val attributes : Map<String, String> = HashMap() // Should be inferred;
|
||||
|
||||
fun foo(m : Map<String, String>) {}
|
||||
|
||||
fun test() {
|
||||
foo(HashMap())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user