Ran into an odd MSVC compiler bug today: a missing parenthesis in a specific place, in a large source file, leads compiler into allocating all my RAM, which eventually led my computer to crash. I can reproduce it reliably.
If I uncomment the extra opening brace it reports error normally.
I can't bother investigating because it quickly puts the computer to a crawl, but I would guess it is getting into a weird parsing/tokenizing state where the remainder of the large source file is being processed as part of that expression, or something of that sorts. Also happens after updating toolchain.
@ocornut I tried to get this to repro so I could file an internal bug, but wasn’t able to. Gonna try again tomorrow or so :)