Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Alexey Kudravtsev
Subsystem
Code Analysis. Inspection
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Simon Knott
    4 years ago (14 May 2008 18:28)
  • Updated by   root
    2 years ago (17 Jan 2010 21:00)
  • Jira: IDEADEV-27067
    (history, comments)
 
IDEA-43863 Enum values not resolving, when enum is in Project library and values start with a dollar.
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
2 Attachments — Show all images
Enum Values.jpg   (7 KB) Error.jpg   (16 KB)
We are experiencing some good code, which compiles fine in both IDEA and ant, being marked as red (see screenshots).

Comparing it to the other enums in our project, the only thing which appears to be consistent across all of the enum values which are failing to resolve are:

1) The enum class is in a project library
2) The enum values start with a dollar

All other enums within the project which do one or the other of these things are resolving fine.

This occurs in versions 7757 and also 7821

Environment: Windows XP, JDK 1.6

Issue was resolved
Comments (1)
 
History
 
Linked Issues (?)
 
Simon Knott
  Simon Knott
03 Jun 2008 13:47
3 years ago
Is this issue likely to be resolved in the next release of IDEA 7? It's causing us a major headache at the moment, as a large proportion of our codebase is red!