ClassCastException: o.c.g.a.e.ClosureExpression cannot be cast to o.c.g.a.e.ClassExpression
-
Evgeny Goldin
Version "1.2.5".
-
me (at andresteingress)
- State changed from new to open
- Assigned user set to me (at andresteingress)
- Milestone set to 1.2.6
- Milestone order changed from 1 to 0
-
me (at andresteingress)
what's the groovy version you're running this example with?
this one works with 1.8.6:
import org.gcontracts.annotations.* abstract class Base { @Ensures({ result }) abstract List<String> sources() } -
Evgeny Goldin
1.8.6, I'll add a link to the code where it happened a bit later.
-
Evgeny Goldin
Here the line, uncommenting it I get "log.txt" attached.
-
me (at andresteingress)
- State changed from open to resolved
-
me (at andresteingress)
(from [24535307de16097201a9b44b5c526ef9b42fca33]) fixed [#37 ClassCastException: o.c.g.a.e.ClosureExpression cannot be cast to o.c.g.a.e.C...] ClassCastException: o.c.g.a.e.ClosureExpression cannot be cast to o.c.g.a.e.ClassExpression https://github.com/andresteingress/gcontracts/commit/24535307de1609...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
