Skip to content

Instantly share code, notes, and snippets.

@sim642
Last active May 12, 2021 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sim642/3d8d2dffc604c0007d93d82d57b373e0 to your computer and use it in GitHub Desktop.
Save sim642/3d8d2dffc604c0007d93d82d57b373e0 to your computer and use it in GitHub Desktop.
Goblint basecomponents_t
type 'a basecomponents_t = {
cpa: CPA.t;
deps: PartDeps.t;
priv: 'a;
}
type t = PrivD.t basecomponents_t = {
cpa: CPA.t;
deps: PartDeps.t;
priv: PrivD.t;
}
(*
77 | ..type t = PrivD.t basecomponents_t = {
78 | cpa: CPA.t;
79 | deps: PartDeps.t;
80 | priv: PrivD.t;
81 | }
Error: This variant or record definition does not match that of type
PrivD.t basecomponents_t
They have different arities.
*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment