Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Maxim Mossienko
Subsystem
Code Analysis. Dependencies
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Aleksey Kabanov
    2 years ago (08 Jun 2009 01:50)
  • Updated by   root
    2 years ago (17 Jan 2010 21:16)
  • Jira: IDEADEV-37593
    (history, comments)
 
IDEA-49278 Flex: Incorrect classes are included in one module if there are 2 classes with the same name in the project in the different modules with the dependencies added.
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Prerequisites:
  • Intellij IDEA 9852 or 10322 installed.

Steps to reproduce:
1. Open the attached project and navigate to 2 classes:
  • ModuleA.mxml (the 'ModuleA' depends on the 'SampleClasses' module, which contains the first com.Util class);
  • ModuleB.mxml (contains another com.Util class with the different variable value);
2. Place caret on the "Util.VARIABLE_1;" string and press Ctrl+B for both "ModuleA" and "ModuleB" modules;

Actual result:
The 'com.Util' class is shown in both cases even if only the "ModuleA" depends on the "SampleClasses" module and the ModuleB has its own
com.Util class with the different variables. This will cause IDEA to incorrectly build the dependencies and fail the inspections for the correct projects
and it will confuse end-users.

Expected result:
Dependencies should be built correctly in such cases: "com.Util" in the "ModuleA" should link to the "com.Util" in the "SampleClasses" module, and Util in the ModuleB
should link to the com.Util in the "ModuleB" module.

Environment: Windows XP SP3, 4 Gb RAM, JVM 1.6.03_b03

Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments