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
{{ message }}
Repository navigation
"module is incompatible" error with iterated theory clones #292
I would have expected the following to work, but I get anther "module is incompatible" error.
(* abstract theories *)
abstract theory AT0.
type a,b.
const c : b.
module M = {
proc f (x:a) : b = { return c; }
}.
end AT0.
abstract theory AT1.
clone import AT0 as T0.
end AT1.
abstract theory AT2.
clone import AT1 as T1.
end AT2.
(* instances *)
clone AT0 as MyT0 with
type a <= int,
type b <= int,
op c <= 0.
clone import AT1 as MyT1
with theory T0 <= MyT0.
clone AT2 as MyA2 with
theory T1 <- MyT1.
(* fails with: module `T1.T0.M` is incompatible *)
Activity
Fix bug in theory replay for modules.
chdoc commentedon Oct 26, 2022
Commit 9e7229c does not (fully) fix the issue.
Various bug fixes for clones (modules & lemmas)
Various bug fixes for clones (modules & lemmas)
Various bug fixes for clones (modules & lemmas)
Fix bug in theory replay for modules.
Various bug fixes for clones (modules & lemmas)