diff options
author | 2015-01-25 14:42:51 +0100 | |
---|---|---|
committer | 2015-01-25 14:42:51 +0100 | |
commit | 7cfc4e5146be5666419451bdd516f1f3f264d24a (patch) | |
tree | e4197645da03dc3c7cc84e434cc31d0a0cca7056 /test-suite/bugs/closed/shouldsucceed/2603.v | |
parent | 420f78b2caeaaddc6fe484565b2d0e49c66888e5 (diff) |
Imported Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'test-suite/bugs/closed/shouldsucceed/2603.v')
-rw-r--r-- | test-suite/bugs/closed/shouldsucceed/2603.v | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2603.v b/test-suite/bugs/closed/shouldsucceed/2603.v deleted file mode 100644 index 371bfdc5..00000000 --- a/test-suite/bugs/closed/shouldsucceed/2603.v +++ /dev/null @@ -1,33 +0,0 @@ -(** Namespace of module vs. namescope of definitions/constructors/... - -As noticed by A. Appel in bug #2603, module names and definition -names used to be in the same namespace. But conflict with names -of constructors (or 2nd mutual inductive...) used to not be checked -enough, leading to stange situations. - -- In 8.3pl3 we introduced checks that forbid uniformly the following - situations. - -- For 8.4 we finally managed to make module names and other names - live in two separate namespace, hence allowing all of the following - situations. -*) - -Module Type T. -End T. - -Declare Module K : T. - -Module Type L. -Declare Module E : T. -End L. - -Module M1 : L with Module E:=K. -Module E := K. -Inductive t := E. (* Used to be accepted, but End M1 below was failing *) -End M1. - -Module M2 : L with Module E:=K. -Inductive t := E. -Module E := K. (* Used to be accepted *) -End M2. (* Used to be accepted *) |