Comparing methods with == doesn't work

The correct way seems to be with Reflect.
The == works for flash target, but doesn't work for neko target.
This should be:

#if neko
// Neko sucks and requires Reflection API for function comparison.
if (Reflect.compareMethods(handler.listener, listener))
#else
if (handler.listener == listener)
#end