-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
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 rescript-lang/rescript#6611.
E.g., if I have a simple union schema
type x = A | B
let schema = S.union([S.literal(A), S.literal(B)])
then S.parseOrRaiseWith(JSON.String("B"), schema)
gives me the error
Failed parsing at root. Reason: Expected "A", received "B"
on latest (ReScript) master.
Metadata
Metadata
Assignees
Labels
No labels