mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 20:21:50 +01:00
A private field named `#await` made the regex-literal check extract the bare word `await`, so the scanner classified the `/` after it as a regex start instead of division. That let the fake regex literal mask a real `vi.waitFor(` or `expect.poll(` call on the same line. Widen the word extraction to include a leading `#`, so a private field's token (`#await`) never equals the bare keyword `await`. Co-authored-by: Paperclip <noreply@paperclip.ing>