You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module_wheremoduleMwhereimportAgda.Primitive as M
importAgda.Builtin.Nat as M
However, the following code is rejected:
module_whereimportAgda.Primitive as M
importAgda.Builtin.Nat as M
moduleMwhere
Duplicate definition of module M. Previous definition of module M
at
[…]/Agda/Primitive.agda:5,13-22
when scope checking the declaration
module M where
I suspect that this is by accident rather than design, and I think we should treat these two cases in the same way.
Here is another example. The following code is accepted:
Currently the following code is allowed:
However, the following code is rejected:
I suspect that this is by accident rather than design, and I think we should treat these two cases in the same way.
Here is another example. The following code is accepted:
However, the following code is not accepted:
The text was updated successfully, but these errors were encountered: