You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comparing a String with a Dynamic depends on the static types #97
In include/hx/LessThanEq.h the string branch fires whenever either operand is statically a String, so a statically typed String compared with a Dynamic holding a number or Bool compares their string forms: ("5":String) == (5:Dynamic) is true while ("5":Dynamic) == (5:Dynamic) is false, and ("true":String) == (true:Dynamic) is true where JS and eval give false. A Dynamic operand should go through the runtime type dispatch.
Activity
Compare a String with a Dynamic by the Dynamic's runtime type
Compare a String with a Dynamic by the Dynamic's runtime type