Beluga icon indicating copy to clipboard operation
Beluga copied to clipboard

Forbid shadowing of store entries in general

Open tsani opened this issue 4 years ago • 0 comments

This is related to #28 but more general. Resolving this would resolve #28, so that issue is invalidated by this one. We should also forbid duplicate theorem names, LF constructor names, comp constructor names, etc.

This can be accomplished at the level of the store itself: each add function should check whether the name already exists and raise a DuplicateEntry exception.

tsani avatar Jan 28 '20 19:01 tsani