powered by Jive Software

Roster.as(545): col: 10 Warning: Duplicate variable definition

Seems that there are twice var i:int defined in the same function.

Altough the class still compiles, I would prefer to do it without any warnings.

Surely I could disable them, but I have high standards.

Would a diff be useful in order to get this fixed in svn?

This is totally legal actionscript; it’s a bug in the warning system that’s causing it to warn. Specifically, it’s not following actionscript scoping rules, but instead assuming all local variables are function-scope.