Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.7, 1.6-beta-2, 1.6-rc-1, 1.7-beta-1
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The following script:
println "hello world" // line 1
// line 2
Pffff // line 3
Will generate the following exception (when launched in the Swing console):
Exception thrown: groovy.lang.MissingPropertyException: No such property: Pffff for class: ConsoleScript7
groovy.lang.MissingPropertyException: No such property: Pffff for class: ConsoleScript7
at ConsoleScript7.run(ConsoleScript7:1)
You'll notice the error appears one line 1 instead of line 3