This is exactly the kind of thing I hate about abjectscript: if you forget
to cast something, it's all OK. Luckily I spelled everything correctly, but lets change it so that the compiler can help us check things. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4314 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -77,7 +77,7 @@ public class AttributeChangedEvent extends NamedEvent
|
||||
override protected function notifyListener (listener :Object) :void
|
||||
{
|
||||
if (listener is AttributeChangeListener) {
|
||||
listener.attributeChanged(this);
|
||||
(listener as AttributeChangeListener).attributeChanged(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user