Daniel X Moore
Daniel X Moore
I'm a big fan of improving the usability of type level programming in Civet and happy to support any PR in this direction. It looks like a good overall approach...
Thanks for digging into this, the LSP definitely needs all the help it can get! :clap:
It should be as simple as making sure we are setting the correct sourcemap in the correct place. In your build script do you have `sourcemap: true` or `sourcemap: 'inline'`?...
Ok, so it's probably something we need to do in the LSP to enable setting breakpoints in the VSCode IDE. Thanks for the report! Hopefully we can get to it...
We could add a compiler flag to disable symbol shorthand.
Another thing we could try is maybe add snug ternaries as well like a?b:c But it may require another parser flag to correctly handle complex cases even still.
I'm willing to accept a PR for this.