From 7525890df67fe711e2d3d63846ddb1e988d0812b Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 3 Sep 2014 18:13:07 +0200 Subject: Fixing bug #2818. Local Ltac definitions do not register their name in the nametab anymore, thus elegantly solving the bug. The tactic body remains accessible from the tactic engine, but the name is rendered meaningless to the userside. --- library/nametab.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library/nametab.ml') diff --git a/library/nametab.ml b/library/nametab.ml index 3bd4e03ab..390789852 100644 --- a/library/nametab.ml +++ b/library/nametab.ml @@ -470,6 +470,8 @@ let exists_module = exists_dir let exists_modtype sp = MPTab.exists sp !the_modtypetab +let exists_tactic kn = KnTab.exists kn !the_tactictab + (* Reverse locate functions ***********************************************) let path_of_global ref = -- cgit v1.2.3