View Issue Details

IDProjectCategoryView StatusLast Update
0031502RunnerFunctionsPublic2020-03-09 15:50
ReporterMark AlexanderAssigned ToRussell Kay 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindows YYCOSOS Version
Product Version2.2.4 
Target Version2.3.0Fixed in Version2.3.0 
Summary0031502: Functions: [YYC] ds_stack_pop() on an empty stack returns 0 instead of undefined, differs from VM
DescriptionIf you call ds_stack_pop on an empty DS stack, then on VM you get undefined (which is how it is documented), but if you call it on the YYC then it returns 0, which could be a legitimate value.
Steps To ReproduceRun the supplied project on both the VM and the YYC.
Check the console output.
VM outputs "undefined".
YYC Outputs "0".
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.4.374
2.x Runtime Verified In


Mark Alexander

2019-11-18 22:08


ds_stack_test.yyz (20,118 bytes)

Russell Kay

2019-11-18 22:34

Manager   ~0065137

Fixed in gitlab

Patrick Roche

2020-03-09 15:50

Adminstrator   ~0065482

Both return undefined. Closing in IDE v9.2.1.2152 Runtime v9.9.1.1717