IntelliJ signals fake error on using EventDispatcher methods to Bindable classes/properties Follow
Hi,
I tried to search this before but didn't get any post hitting my search queries.
I have:
public class Person{
[Bindable]
public var name:String;
}
and I have another class instantiating Person and doing:
var p:Person = new Person();
p.addEventListener(...);
Idea will signal a "Unresolved function or method" and it makes sense since Person does not implicit implement IEventDispatcher, however this will not be an error during compilation. Any idea how I can avoid this without extending EventDispatcher.
Thank you.
Please sign in to leave a comment.
Looks like a bug in IDEA. Please open respective issue: http://youtrack.jetbrains.net
Opened issue, thank you: http://youtrack.jetbrains.net/issue/IDEA-77499.