yasl
yasl copied to clipboard
Calling `require` too late in file causes crash.
The following example will crash:
const x = [ 'a']
const y = []
echo x
y->sort(fn(a, b) {
return a->tostr('x') < b->tostr('x')
})
y->sort(fn(a, b) {
y->push(a)
return a < b
})
echo y
const re = require('tuple')