-
Notifications
You must be signed in to change notification settings - Fork 429
Closed
Description
moved from rescript-lang/rescript#3094 (cc @wyze)
This was working correctly in bs-platform 4.0.5, but started running into this when I upgraded to 4.0.6.
Source
type ex;
[@bs.val] external expect: Dom.element => ex = "";
[@bs.get] external not_: ex => ex = "not";
Command
$ bsc -bs-re-out lib/bs/src/File.cmi > src/File.rei
Output
type ex;
[@bs.val] external expect: Dom.element => ex = "";
[@bs.get] external not__: ex => ex = "not";
Error
[2/3] Building src/JestDom.cmj
We've found a bug for you!
/Users/neil/Projects/personal/bs-jest-dom/src/JestDom.re
The implementation src/JestDom.mlast
does not match the interface src/jestDom.cmi:
The value `not__' is required but not provided
error Command failed with exit code 2.
Expected
type ex;
[@bs.val] external expect: Dom.element => ex = "";
[@bs.get] external not_: ex => ex = "not";
Metadata
Metadata
Assignees
Labels
No labels