Nathan Faubion

Results 48 issues of Nathan Faubion

Given code like: ```purescript foo expr = case expr of Baz _ -> 1 Qux _ -> 2 bar expr = case expr of Baz _ -> 1 + foo...

This floats immediate top-level lets into proper top-level bindings, opening up additional optimizations (as the let no longer potentially blocks inlining) while increasing sharing (we don't have to inline the...

In line with the main compiler, we insert pattern match failure assertions (`$runtime.fail()`) when there is no wildcard pattern. Since the pattern matching tree optimizer emits complete if/else trees, we...

One of the more powerful optimizations is case-of-case, which internally translates to the `shouldDistributeBranches` heuristic and the `RewriteDistBranchesLet` rewrite constraint. The problem is that it can result in exponential code...

Create a bundle that uses globs: ``` python js = Bundle('js/*.js') ``` And say it includes 4 files, the final output will be: ``` html ``` The problem stems from...

On 0.26.3, my usual steps to reproduce involve `git checkout` workflows: * Open a git project in VSCode * Save a file in the editor that results in an error...

Right now it uses preferred modules when the same thing is exported from multiple places, but I think we should also rank preferred modules higher even when the exports aren't...

enhancement

I haven't narrowed down an exact reproducible case, but I've been getting a lot of duplicate qualified imports on autocomplete lately. At first I thought it related to whether the...

bug
needs info

Recovery is somewhat terrible right now, and may actually produce worse errors in some cases because it is not attempting to recover the layout stack, it's only eating tokens. If...