Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: lexer
-
Labels:None
-
Environment:Groovy Version: 1.6.0 JVM: 1.6.0_12
-
Number of attachments :
Description
bug.groovy
println 'bug'
/*
println ('x' ==~ /\w*/)
*/
bug.groovy: 3: unexpected token: ) @ line 3, column 23.
println ('x' ==~ /\w*/)
^
1 error
Not sure if this is a valid request. That kind of multi-line comment does not seem to be allowed by Java too. "*/" is supposed to end a multi-line comment irrespective of the context in which it appears.