Created
November 9, 2011 08:16
-
-
Save wires/1350816 to your computer and use it in GitHub Desktop.
Coq strangeness when importing canonical_names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section s1. | |
Context `{Ring R}. (* Error: Unbound and ungeneralizable variable Ring *) | |
(* That's a clear error message *) | |
End s1. | |
Require Import canonical_names. | |
Section s2. | |
Context `{Ring R}. (* Error: Cannot infer the type of R. *) | |
(* it haz confusing, why happens? *) | |
End s2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is caused by "Global Generalizable All Variables." (thanks robbertkrebbers)