test-suite/output/ShowMatch.v
raw| 1 | (* Bug 5546 complained about unqualified constructors in Show Match output, |
| 2 | when qualification is needed to disambiguate them |
| 3 | *) |
| 4 | |
| 5 | Module A. |
| 6 | Inductive foo := f. |
| 7 | Show Match foo. (* no need to disambiguate *) |
| 8 | End A. |
| 9 | |
| 10 | Module B. |
| 11 | Inductive foo := f. |
| 12 | (* local foo shadows A.foo, so constructor "f" needs disambiguation *) |
| 13 | Show Match A.foo. |
| 14 | End B. |