File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
semantic-analysis/src/Analysis Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,18 @@ infixl 1 :>>
77
77
78
78
subterms :: Term -> Set. Set Term
79
79
subterms t = Set. singleton t <> case t of
80
- Var _ -> mempty
81
- Noop -> mempty
82
- Iff c t e -> subterms c <> subterms t <> subterms e
83
- Bool _ -> mempty
84
- String _ -> mempty
85
- Throw t -> subterms t
86
- Let _ v b -> subterms v <> subterms b
87
- a :>> b -> subterms a <> subterms b
88
- Import _ -> mempty
80
+ Var _ -> mempty
81
+ Noop -> mempty
82
+ Iff c t e -> subterms c <> subterms t <> subterms e
83
+ Bool _ -> mempty
84
+ String _ -> mempty
85
+ Throw t -> subterms t
86
+ Let _ v b -> subterms v <> subterms b
87
+ a :>> b -> subterms a <> subterms b
88
+ Import _ -> mempty
89
89
Function _ _ b -> subterms b
90
- Call f as -> subterms f <> foldMap subterms as
91
- Locate _ b -> subterms b
90
+ Call f as -> subterms f <> foldMap subterms as
91
+ Locate _ b -> subterms b
92
92
93
93
94
94
-- Abstract interpretation
You can’t perform that action at this time.
0 commit comments