repro: https://github.com/rebcabin/lpython/tree/brian-lasr/lasr/LP-pycharm/Issue1975 I will debug this deeply with print statements, but before I make the code super ugly, I thought I would save a clean repro case for y'all: CPython: ```bash (lp) ┌─(~/CLionProjects/lpython/lasr/LP-pycharm/Issue1975)───────────────────────────────────────────────────────────────────────────────────────────────(brian@Golf37:s000)─┐ └─(20:41:28 on brian-lasr ✭)──> PYTHONPATH='../../../src/runtime/lpython' python lasr_lexer.py 1 ↵ ──(Tue,Jun20)─┘ STRINGIO TEST READ-SEEK-TELL-TEST LEXER TEST ``` LPython: ```bash (lp) ┌─(~/CLionProjects/lpython/lasr/LP-pycharm/Issue1975)───────────────────────────────────────────────────────────────────────────────────────────────(brian@Golf37:s000)─┐ └─(20:45:04 on brian-lasr ✭)──> ~/CLionProjects/lpython/src/bin/lpython -I. lasr_lexer.py && ./lasr_lexer.out 127 ↵ ──(Tue,Jun20)─┘ STRINGIO TEST READ-SEEK-TELL-TEST LEXER TEST AssertionError: t == 'f' ```
Activity
rebcabin commentedon Jun 21, 2023
See Issue #1981 for deeper analysis