BetterErrors icon indicating copy to clipboard operation
BetterErrors copied to clipboard

Make OCaml/Reason errors prettier

Results 56 BetterErrors issues
Sort by recently updated
recently updated
newest added

I wish I could come up with a more minimal case but I haven't been able to. I get the following when piping the bsb output from https://github.com/ryb73/spotify-to-youtube/tree/better-errors-error through BetterErrors:...

Solution: first define type state then declare component > Basically, createComponent returns something of type `component 'state` for a not yet defined 'state. Then state gets defined later and you...

can use either `_` or `_foo`

`module lowercase = OriginalName` `Error: Unbound instance variable lowercase` Maybe something like `Module names must be uppercased. Did you mean Lowercase?`

Error: This expression has type MessengerBarsRe.t = ImmutableJsRe.OrderedMap.t string (Js.null_undefined FooBarPayloadRe.t) but an expression was expected of type ImmutableJsRe.OrderedMap.t string (Js.Null_undefined.t (Js.t ({ employee : Js.Null_undefined.t 'b, .. } as...

``` Fatal error: exception Not_found Raised at file "src/reason_toolchain.ml", line 87, characters 10-13 Called from file "src/reason_toolchain.ml", line 233, characters 14-57 Called from file "src/refmt_impl.ml", line 12, characters 48-157 Called...

'Our Discord channel: discord.gg/reasonml', 'Wanna know how Reason compilation works under the hood? https://github.com/chenglou/intro-to-reason-compilation', 'The original Reactjs implementation was written in SML (cousin of OCaml). Writing in OCaml/Reason gives you...

```reason let foo ::a1 ::a2 => 1; let foo2 ::a2 ::a1 => 1; let create ::f => 1; create f::foo; create f::foo2; ``` See discord discussion in #ocaml (www.discord.gg/reasonml)

Either artifact staleness or version conflict, or something else