asteroid
asteroid copied to clipboard
strange 'expected' statement in operator error
When trying to add a constant to a list we can an expected error, but the error message itself makes no sense:
ast> [1,2,3]+1
error: found 'list + integer' expected 'none + none'
ast>
Why does Asteroid print 'none + none'?