KT-287 Infer constructor type arguments

This commit is contained in:
Andrey Breslav
2011-11-09 21:48:36 +03:00
parent a24e448973
commit 0c492ae0eb
4 changed files with 18 additions and 25 deletions
@@ -0,0 +1,5 @@
// KT-287 Infer constructor type arguments
import java.util.*
fun attributes() : Map<String, String> = HashMap() // Should be inferred;
val attributes : Map<String, String> = HashMap() // Should be inferred;