Incoherent-Code
Incoherent-Code
Changing line 183 in index.ts to: ``` build.initialOptions.inject.push( resolve(dirname(filename), "../polyfills/global.js"), ); ``` seems to work. I haven't submitted a pull request because I imagine that build.initialOptions.inject wasn't used for a...
Upon further inspection, this is actually a bug with mkindex.py itself. I tried running mkindex.py again and got this output, which is still wrong: [grammar.json](https://github.com/user-attachments/files/16401191/grammar.json)
The problem lies with lines 113 and 114: ```python lexer = grammars[0] if 'Lexer' in grammars[0] else grammars[1] parser = grammars[0] if 'Parser' in grammars[0] else grammars[1] ``` The [Kotlin...