Issue 25 in minijoe: Add instanceof Integer check in JsSystem.toNumber()

7 views
Skip to first unread message

min...@googlecode.com

unread,
Mar 11, 2014, 5:02:32 PM3/11/14
to min...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Patch

New issue 25 by simonbar...@googlemail.com: Add instanceof Integer check in
JsSystem.toNumber()
http://code.google.com/p/minijoe/issues/detail?id=25

After a lot of confusion as to why a JsObject.getInt returned 0 all the
time I discovered that toNumber() did not check whether the object was an
integer, which it was ( set by addVar("name", new Integer(intval)); )

Attachments:
JsSystem.java.patch 342 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages