dictu-lang / Dictu

Dictu is a high-level dynamically typed, multi-paradigm, interpreted programming language.
https://dictu-lang.com
MIT License
268 stars 53 forks source link

Fix issue where string was getting popped before created #711

Closed Jason2605 closed 9 months ago

Jason2605 commented 9 months ago

String Subscript

What's Changed:

The string was being popped off the VM before the call to copyString, this meant the string was getting free'd and then the value was attempted to be used.

#

Type of Change:

#

Housekeeping:

#

Screenshots (If Applicable):