This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124914

Summary: Multi-line string constants don't work
Product: groovy Reporter: schmidtm <schmidtm>
Component: CodeAssignee: gkrish <gkrish>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: LoginController.groovy

Description schmidtm 2008-01-08 19:48:23 UTC
Multi-line string constants enclosed in triple-quotes like:

def test = """
This
won't
work
at the moment
"""
don't work at the moment. Please take a look at the attachment at lines # 46-57
Comment 1 schmidtm 2008-01-08 19:49:30 UTC
Created attachment 54832 [details]
LoginController.groovy
Comment 2 schmidtm 2008-01-14 13:16:57 UTC
Multiline strings and strings in general are working fine. They are only affected by putting Gstrings in them. But this
is an separate issue tracked here:

"Gstring in source breaks token recognition"
http://www.netbeans.org/issues/show_bug.cgi?id=124912

I'll close that one. Sorry for the hassle.
Comment 3 gkrish 2008-01-30 11:04:24 UTC
Verified. Working fine