forked from kind2-mc/kind2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kind2-mc#1093 from daniel-larraz/poly-type-dep
Fix dependency analysis for polymorphic user types
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
type R0<<T>> = struct { | ||
v: T; | ||
}; | ||
|
||
type E = enum {A, B}; | ||
|
||
type R1 = struct { | ||
f: E; | ||
}; | ||
|
||
type R2 = struct { | ||
opt: R0<<R1>>; | ||
}; | ||
|
||
node N(x: R2) returns (y: R2); | ||
let | ||
y = x; | ||
tel |