Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.5.4
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
final greeting = 'Hello'
greeting = 'Welcome'
println greeting
What I expect is that Groovy will complain greeting is final variable that should not be able to be modified.
Actually, the code executed very well, and its result is: Welcome
Issue Links
| This issue duplicates: | ||||
| GROOVY-1628 | Inconsistent checking of final |
|
|
|
Duplicate of GROOVY-1628