View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025751Runner[All Projects] HTML5Public2017-02-22 02:042017-03-17 11:30
Assigned ToFritz 
PriorityLowSeverityC - GeneralReproducibility100%
PlatformWindowsOSWindows 8OS Version8.1
Summary0025751: HTML5: GetWithArray should return [] instead of null on no matching type
DescriptionCurrently GetWithArray returns null if all other options (== all, is object id, is instance id) fail, meaning that doing var q = noone; place_meeting(x, y, q), for example, will throw exceptions from inside place_meeting on attempt to get null' length.

with-loops are unaffected because they use for (key in obj) loops, which just do nothing when asked to iterate over a null.
1.4 Version7.7.1398
2.x Runtime Version
2.x Runtime Version Verified In
Attached Files? file icon a_bug.gmz [^] (119,086 bytes) 2017-02-22 02:04

- Relationships

-  Notes
Fritz (Developer)
2017-02-27 16:42

Ross Manthorp (Administrator)
2017-03-17 11:30

Verified. Closing.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker