Open cknitt opened 3 months ago
It seems something broke with https://github.com/rescript-lang/rescript-compiler/pull/6611.
Oh, nice that it was merged. Yeah, that's probably the reason, since I do a dirty thing, to make RescriptSchemaError
a valid Error
instance and ReScript exception at the same time. I'll do a fix closer to the V12 release.
12.0.0-alpha.1 is out now! 🎉
I am also seeing the following error (without a line number) when using the PPX with 12.0.0-alpha.1:
This uncurried function has type 'a => 'b
It is applied with 2 arguments but it requires 1.
Started the migration. I'm currently blocked by this https://github.com/rescript-lang/rescript-compiler/issues/6929
This may be a bit early as there is not even a first alpha version of ReScript 12 out yet, but I wanted to give you a heads-up already.
It seems something broke with https://github.com/rescript-lang/rescript-compiler/pull/6611.
E.g., if I have a simple union schema
then
S.parseOrRaiseWith(JSON.String("B"), schema)
gives me the erroron latest (ReScript) master.