Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.5
-
None
-
None
-
Patch
Description
The problem appears in version 2.0.5 and in revision 4cf5263.. This
problem is similar to the previously fixed GROOVY-5803, GROOVY-5823,
GROOVY-5825, and GROOVY-5827. I attached a one-line patch that fixes
it. I will also post (in the "Comments" section) the URL for the
github pull request.
In the "ClassNode" constructor (the constructor with 5 parameters),
the loop over "interfaces" should break immediately after
"usesGenerics" is set to "true". All the iterations after
"usesGenerics" is set to "true" do not perform any useful work, at
best they just set "usesGenerics" again to "true".