Details
Description
a final modifier on a local variable of some kind is currently ignored by groovy. Instead groovy should give a compile time error if final is used but the variable gets still a value
a final modifier on a local variable of some kind is currently ignored by groovy. Instead groovy should give a compile time error if final is used but the variable gets still a value
Attaching a spike. This is too strict in that it requires initialization at declaration time, e.g. this is correctly detected:
but will reject the following valid code:
final x x = 2