Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Using the following code:
Map<String, Integer> foo = null Integer result = foo?.get('a')
The type checker returns a cryptic error:
[Static type checking] - Incompatible generic argument types. Cannot assign <unknown parameter type> to: java.util.Map <String, Integer> @ line 2, column 13. Map<String, Integer> foo = null ^