Pedro Castro
Pedro Castro
I didn't get this issue in vscode, but it would be good to use relative paths. In monorepos the paths are long. Example: ``` Syntax error! /home/pedro/Desktop/rescript-material-ui/public/rescript-material-ui/src/ButtonGroup.res:62:18-24 60 │ module...
I think we can change `Js.Exn.raiseError` function to: ```rescript let raiseError = str => raise(Failure(str)) ``` [Playground](https://rescript-lang.org/try?version=v12.0.0-alpha.1&code=DYUwLgBATghglgZxAUSlA9lCBeCIAeAdjgHzTxIAUAYvMAK5QiUGECUbAUJ6JDDuUQo0mSgCIAZunRiuQA)
There is no idiomatic way to throw other errors like `EvalError`. In fact, there never was.
Something we can support is exception name as error name. ```rescript exception EvalError(string) raise(EvalError("foo")) ``` compile to: ```js throw new EvalError("foo", { cause: { RE_EXN_ID: "EvalError", _1: "foo" } });...
Your libs use `Js.Exn.{raiseEvalError,raiseRangeError}` functions?
What is the regression compared to v11?
Não apareceu só em `2.0.0b21`
Relacionado https://github.com/ynqa/pandavro/issues/56
Acho que podemos adicionar uma restrição para o `numpy`, `
Ou apenas lançar uma exception