History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25506
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Mark Brennan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

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

Created: 24 Mar 08 04:21   Updated: 24 Mar 08 17:43
Component/s: JavaScript, Flex Support
Fix Version/s: Diana 8280, Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,577
Fixed in build: 8,251
Severity: High


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.