-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
If I have
module Events : SomeTypeThatDoesntExist = Events;
I'll get the message
node_modules/reglnative/src/opengl.re:123 18-38
120 ┆ | UP;
121 ┆ type keycodeT = Keycode.t;
122 ┆ }; */
123 ┆ module Events : Reglinterface.Events = Events;
124 ┆ type mouseButtonEventT =
125 ┆ button::Events.buttonStateT => state::Events.stateT => x::int => y::int => unit;
126 ┆
Error: Module `type` not found in included libraries.
Hint: your build rules might be missing a link. If you're using:
- Oasis: make sure you have `type` under `BuildDepends` in your _oasis file.
- ocamlbuild: make sure you have `-pkgs type` in your build command.
- ocamlc | ocamlopt: make sure you have `-I +type` in your build command before the source files.
- ocamlfind: make sure you have `-package type -linkpkg` in your build command.
Notice the Module 'type' not found... which is probably grabbing the first word of type module Events or something...
Metadata
Metadata
Assignees
Labels
No labels