Inconsistent handling of “final” modifier used in Groovy closure

前端 未结 0 1179
花落未央
花落未央 2020-12-05 00:44

I\'m seeing different handling of "final" modifier in current stable Groovy (v3.0.7): identical code block which checks for condition and sets final variable works

相关标签:
回答
  • 消灭零回复
提交回复
热议问题