1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/tests/positive/Reachability/N.juvix
Łukasz Czajka 4c5fee3e95
Compute name dependency graph and filter unreachable definitions (#1408)
* Compute name dependency graph and filter unreachable declarations

* bugfix: recurse into type signatures

* positive tests

* make ormolu happy

* get starting nodes from ExportInfo

* make ormolu happy

* cosmetic refactoring of DependencyInfo

* fix tests & style
2022-07-25 18:38:44 +02:00

14 lines
139 B
Plaintext

module N;
open import M;
open import Stdlib.Prelude;
test : {A : Type} -> A -> A;
test x := x;
inductive Unit {
unit : Unit;
};
end;