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
When accessing the wrong variant field in the VM, we get a hint that quit() was called, sometimes with an extra RangeError (and the message is not colored) sometimes without anything.
Test case with the RangeError
typeMyEnumKind=enum
meFoo
meBar
MyObj=refobjectcase kind: MyEnumKind of meFoo:
foo: int of meBar:
bar: boolmacrotriggerQuit(): untyped=let x =MyObj(kind: meFoo, foo: 123)
echo x.bar
triggerQuit()
I'm not sure how to get the quit() without range error with a mini example yet.
The text was updated successfully, but these errors were encountered:
When accessing the wrong variant field in the VM, we get a hint that quit() was called, sometimes with an extra
RangeError
(and the message is not colored) sometimes without anything.Test case with the RangeError
I'm not sure how to get the
quit()
without range error with a mini example yet.The text was updated successfully, but these errors were encountered: