diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-10-01 21:37:16 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-10-01 21:48:15 +0200 |
commit | acbe712fd643516ff63ecfe3e106deb695dbd9b3 (patch) | |
tree | ce7fa05699bdbe6aaba3fe9af234821a3da69cfd /test-suite/bugs/closed/4661.v | |
parent | 2e7c8893e6df7af924dba0291f70dd6fa771cb78 (diff) |
Fix bug #4661: Cannot mask the absolute name.
The patch is quite dumb: it essentially consists in alpha-renaming bound
module names when printing a functor, by checking that the name was not
already present, and generating a fresh one otherwise.
Diffstat (limited to 'test-suite/bugs/closed/4661.v')
-rw-r--r-- | test-suite/bugs/closed/4661.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4661.v b/test-suite/bugs/closed/4661.v new file mode 100644 index 000000000..03d2350a6 --- /dev/null +++ b/test-suite/bugs/closed/4661.v @@ -0,0 +1,10 @@ +Module Type Test. + Parameter t : Type. +End Test. + +Module Type Func (T:Test). + Parameter x : Type. +End Func. + +Module Shortest_path (T : Test). +Print Func. |