Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
@groovy.transform.TypeChecked
void test(Map map) {
map*.key = null
}
"key" is a read-only property of Map.Entry; however this is caught at run-time rather than compile-time.