Open chaudhuri opened 2 years ago
As of 5bb9833e5655039740dadc56ad993f879c7e127b, Kind declarations can be repeated with no warnings or errors.
Kind
Kind n type. Kind n type. % no issues
However, Type declarations cannot be repeated.
Type
Type z n. Type z n. Error: Predicate or constant z already exists
Seems like an unintended discrepancy. Should perhaps be fixed by allowing redeclarations of Types as well.
(Issue spotted in discussion with @innofarah.)
As of 5bb9833e5655039740dadc56ad993f879c7e127b,
Kind
declarations can be repeated with no warnings or errors.However,
Type
declarations cannot be repeated.Seems like an unintended discrepancy. Should perhaps be fixed by allowing redeclarations of
Type
s as well.(Issue spotted in discussion with @innofarah.)