-
Notifications
You must be signed in to change notification settings - Fork 7
Inconsistent Behavior on Failed Run #26
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
from this issue in rhaiscript/rhai
Issue: Code runs fine in the playground. Make a breaking change and the code fails. Put the code back to the working version and it no longer works.
Steps to reproduce:
- Open
primes.rhaiin the playground - Set
const MAX_NUMBER_TO_CHECK = 100_000_000; - Run it (success. for me, 83 seconds)
- Set
const MAX_NUMBER_TO_CHECK = 1_000_000_000; EXCEPTION: RuntimeError: unreachable executed- Change it back:
const MAX_NUMBER_TO_CHECK = 100_000_000; EXCEPTION: Error: recursive use of an object detected which would lead to unsafe aliasing in rust
So somewhere in the playground, something breaks and fails to clean itself before the next run.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working