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: | CC shows wrong findAll return type in tests | ||
---|---|---|---|
Product: | groovy | Reporter: | Martin Janicek <mjanicek> |
Component: | Editor | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Martin Janicek
2011-12-21 09:15:50 UTC
See revision web-main #1e576bf8babc (which is temporary fix for the failing test problem) for more details. Seems to be type interference related. Not sure why but sometimes it looks like the editor thinks that the completion is invoked on the Collection (in that case the findAll() method should return Collection [1]), but sometimes it thinks that the completion is invoked on the Map (in that case the findAll() method should return Map [1]). The map is actually correct since the type code before caret looks like this: [1:"Alice", 2:"Bob"]. Not sure at all (at least for now) how is possible that the results are randomly changed. [1] Groovy JDK: http://groovy.codehaus.org/groovy-jdk/ *** Bug 205951 has been marked as a duplicate of this bug. *** Decreasing priority to P4. This is actually working in IDE, but failing in tests. Hard to say what's the problem and it's definitely a low priority in comparison with other problems. Fixed in: web-main #c3c26a690916 Integrated into 'main-golden', will be available in build *201303251729* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c3c26a690916 User: Martin Janicek <mjanicek@netbeans.org> Log: #206610 - CC shows wrong findAll return type in tests |