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.
Summary: | Go to declaration fails for variables that are used in strings | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Petr Nejedly <pnejedly> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexandr Scherbatiy
2008-10-08 10:48:12 UTC
This looks like a bug in parser. The parsed tree for <<"var = {a}">> looks like: STRING_EXPRESSION [0,11] - STRING_LITERAL [0,8] - STRING_LITERAL [8,9] - IDENTIFIER [8,9] - STRING_LITERAL [9,11] The second subtree (STRING_LITERAL [8,9]) shouldn't be there, makes no sense and breaks the identifier lookup. This problem is gone now, it seems, though the compiler still generated an overlapping AST node.... verified in build netbeans-trunk-nightly-200910071536-javafx-full.zip |