reflect field documentation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

reflect field documentation

Robin Palotai
The description of Reflect.field tells: "Returns the field of an
object, or null if o is not an object or doesn't have this field."

On flash9, with standalone flash debug player, if there is no such
field, it throws an exception insted of returning null.
Worked around with hasField, but this may be confusing if remains so
in the docs.

Robin

--
haXe - an open source web programming language
http://haxe.org