Files
wren/test/regression/428.wren
Bob Nystrom 44a95e65c6 Set the token type after an invalid character error.
Otherwise, it still has the previous token's type. This can cause it
to get stuck in a loop in some places in the compiler.

Fix #428.
2017-03-23 21:19:20 -07:00

7 lines
248 B
Plaintext

// This was crashing the compiler with an out of bounds memory access.
// expect error line 6
// expect error line 7
Fiber.new {
isDone ["", àààààààààààààààààààààààààààààààààààààààààààààààààà