-
Notifications
You must be signed in to change notification settings - Fork 31
Require Import Coq.Lists.Streams. broken between 8.20.1 and 9.0.0 #175
Copy link
Copy link
Closed
Labels
Description
Hello,
I noticed a small compatibility break between 8.20.1 and 9.0.0 regarding the Coq to Rocq rename and the import logic for some things in the standard library, for example Coq.Lists.Streams.
Here is test.sh.
#!/bin/sh
coqc --version
cat <<'EOF' > /tmp/foo.v
Require Import Coq.Lists.Streams.
EOF
coqc /tmp/foo.v
Here is the output for Coq 8.20
$ bash /tmp/test.sh
The Coq Proof Assistant, version 8.20.1
compiled with OCaml 4.14.2
And here is the output for Coq 9.0.0 . I build it using a different version of OCaml, but that's just because it's the easiest way to get different opam switches and install different versions of Rocq side by side. If I need to (or it is preferable to) build different versions of Rocq with the same version of the OCaml compiler please let me know.
bash /tmp/test.sh
The Rocq Prover, version 9.0.0
compiled with OCaml 5.2.1
File "/tmp/foo.v", line 1, characters 0-33:
Warning: "From Coq" has been replaced by "From Stdlib".
[deprecated-from-Coq,deprecated-since-9.0,deprecated,default]
File "/tmp/foo.v", line 1, characters 15-32:
Error: Cannot find a physical path bound to logical path
Stdlib.Lists.Streams.
So, we got a deprecation warning but it looks like we failed to fall back to the old name.
Reactions are currently unavailable