christophe-hall / as3-commons

Automatically exported from code.google.com/p/as3-commons
0 stars 0 forks source link

Invalid assignment. #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
public function AbstractMember(name:String, type:String, declaringType:String, 
isStatic:Boolean, applicationDomain:ApplicationDomain, metaData:HashArray = 
null) {
                        super(metaData);
                        _name = name;
                        _isStatic = isStatic;
                        typeName = type;
                        declaringTypeName = declaringType;
                        applicationDomain = applicationDomain;
                }

should be (the last line must use 'this' for class property reference):

public function AbstractMember(name:String, type:String, declaringType:String, 
isStatic:Boolean, applicationDomain:ApplicationDomain, metaData:HashArray = 
null) {
                        super(metaData);
                        _name = name;
                        _isStatic = isStatic;
                        typeName = type;
                        declaringTypeName = declaringType;
                        this.applicationDomain = applicationDomain;
                }

Original issue reported on code.google.com by Captain.Cook.83@gmail.com on 10 Nov 2010 at 9:05

GoogleCodeExporter commented 8 years ago
Thanx for catching this one, I found the same mistake in Method.as. Changes are 
available in the trunk.

Original comment by ihatelivelyids on 10 Nov 2010 at 9:12

GoogleCodeExporter commented 8 years ago

Original comment by ihatelivelyids on 10 Nov 2010 at 9:13