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.
The statement following the "here document" gets a red wriggly line, for example def test puts <<-HERE Hi there HERE return end return gets marked as an invalid statement. If you put an additional newline before the return statement the error goes away.
This was fixed a while ago, but unfortunately too late for 6.7 - if you don't want to use a daily build, you can fix this in 6.7 as per the instructions in issue 166956. The fix will be delivered in patch1 for 6.7. *** This issue has been marked as a duplicate of 166713 ***
Thanks! Sorry for the duplicate, I did try a search for "here doc" but it's spelled differently in the other bug report
No problems, I don't actually mind duplicates as it gives at least some indication on how many people are running into a certain issue. Even if the issue is already fixed in dev builds, incoming duplicates will tell us that we should really push the fix to the next patch for the latest stable release.