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 - Multi-line string constants don't work
Summary: Multi-line string constants don't work
Status: CLOSED INVALID
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: gkrish
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 19:48 UTC by schmidtm
Modified: 2008-10-30 14:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
LoginController.groovy (2.08 KB, text/plain)
2008-01-08 19:49 UTC, schmidtm
Details

Note You need to log in before you can comment on or make changes to this bug.
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