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: | AstPath fails for mini-class: class Bar { } | ||
---|---|---|---|
Product: | groovy | Reporter: | schmidtm <schmidtm> |
Component: | Editor | Assignee: | Martin Janicek <mjanicek> |
Status: | NEW --- | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
schmidtm
2008-07-09 11:04:01 UTC
I am not able to reproduce this somehow, but I created AstPathTest in http://hg.netbeans.org/main/rev/5341a349c47b so if you will provide failing test case, I will fix it. Integrated into 'main-golden', available in NB_Trunk_Production #309 build Changeset: http://hg.netbeans.org/main/rev/5341a349c47b User: Martin Adamek <martin_adamek@netbeans.org> Log: Test support for #139371: AstPath fails for mini-class: class Bar { } My original description was wrong. You have to have something uncomplete in the body of that mini-class like: class Bar { Cl } I've added a testcase to expose this: http://hg.netbeans.org/main/rev/ac21609024e6 Integrated into 'main-golden', available in NB_Trunk_Production #310 build Changeset: http://hg.netbeans.org/main/rev/ac21609024e6 User: Matthias Schmidt <schmidtm@netbeans.org> Log: Adding testcases for #139371: AstPath fails for mini-class: class Bar { } I know this is breaking some completion stuff, but in real world those mini-classes are not really used, so I am downgrading to P3. |