You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5330 Reporter:@ygrek Assigned to:@xclerc Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.1 Fixed in version: 3.13.0+dev Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Monitored by:@hcarty
/opt/ocaml-3.12.1/bin/ocamlc.opt -i q.ml > q.inferred.mli
File "q.ml", line 1, characters 10-22:
Error: Unbound module Thread
Command exited with code 2.
Additional information
.inferred.mli with thread tag doesn't work in any ocaml version
.top with thread tag works only in 3.11.2 (not any earlier or later version), this is regression from #4873
The text was updated successfully, but these errors were encountered:
Original bug ID: 5330
Reporter: @ygrek
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.1
Fixed in version: 3.13.0+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @hcarty
Bug description
$ cat q.ml
let f x = Thread.delay x
$ cat top.mltop
Q
$ rm -rf _build && /opt/ocaml-3.12.1/bin/ocamlbuild -classic-display -tags thread,use_unix top.top
/opt/ocaml-3.12.1/bin/ocamldep.opt -modules q.ml > q.ml.depends
/opt/ocaml-3.12.1/bin/ocamlc.opt -c -thread -o q.cmo q.ml
/opt/ocaml-3.12.1/bin/ocamlmktop unix.cma q.cmo -o top.top
File "none", line 1, characters 0-1:
Error: Error while linking q.cmo:
Reference to undefined global `Thread'
Command exited with code 2.
$ rm -rf _build && /opt/ocaml-3.12.1/bin/ocamlbuild -classic-display -tags thread,use_unix q.inferred.mli
/opt/ocaml-3.12.1/bin/ocamldep.opt -modules q.ml > q.ml.depends
/opt/ocaml-3.12.1/bin/ocamlc.opt -i q.ml > q.inferred.mli
File "q.ml", line 1, characters 10-22:
Error: Unbound module Thread
Command exited with code 2.
Additional information
.inferred.mli with thread tag doesn't work in any ocaml version
.top with thread tag works only in 3.11.2 (not any earlier or later version), this is regression from #4873
The text was updated successfully, but these errors were encountered: