History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2460
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Jochen Theodorou
Reporter: René de Bloois
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
groovy

VerifyError instead of compilation error

Created: 01/Jan/08 10:11 AM   Updated: 17/Jan/08 07:21 AM
Component/s: bytecode
Affects Version/s: 1.5.1
Fix Version/s: 1.6, 1.5.2

Time Tracking:
Not Specified

Environment: WindowsXP sp2, java 6


 Description  « Hide
The following script gives a VerifyError instead of a compilation error (that is, I assume that this should not compile):
( def var = 1 ).method()

Gives:

Caught: java.lang.VerifyError: (class: Test8, method: run signature: ()Ljava/lang/Object;) Unable to pop operand off an empty stack


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jochen Theodorou - 17/Jan/08 07:21 AM
fixed