Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
Flex Support 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7577
Fixed in build
8251
Subsystems
0, 0
Severity
0
  • Submitted by   Mark Brennan
    22 months ago (24 Mar 2008 04:21)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:59)
  • Jira: IDEA-43349
    (history, comments)

IDEA-43349

Actionscript/Flex Locally scoped variable with same name as member variable incorrectly marked as duplicate declaration

0
create the following actionscript class:


public class Test {
private var variable:String;
public function test():void {
var variable:String;
this.variable = variable;
}
}

Notice the second 'variable' declaration inside method test is marked as a duplicate declaration, this is incorrect as it a locally scoped variable, note that goto declaration of this.variable and variable goto the correct definition.

applies to #7577 and #8243

Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments