mirror of
https://github.com/github/semantic.git
synced 2024-12-26 16:33:03 +03:00
Define dead code analysis using analyzeTerm.
This commit is contained in:
parent
2ab50cda5e
commit
25e5af382e
@ -79,6 +79,6 @@ instance ( Corecursive t
|
||||
, Semigroup (Cell (LocationFor v) v)
|
||||
)
|
||||
=> MonadAnalysis t v (DeadCodeAnalysis t v) where
|
||||
evaluateTerm = foldSubterms (\ term -> do
|
||||
analyzeTerm term = do
|
||||
revive (embedSubterm term)
|
||||
eval term)
|
||||
eval term
|
||||
|
Loading…
Reference in New Issue
Block a user