1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/test/Typecheck
Jan Mas Rovira 27df3949f5
Add nodes with no edges to the dependency graph (#2390)
- Closes #2373 

Consider this:
```
let 
 x : _ := 0
in ...
```
When translating the let to internal, we build the dependency graph and
then use that to group definitions in mutually recursive blocks. Since
`x` has no edge, it was not being added to the dependency graph, so it
was not being translated to Internal, thus crashing later during
inference.
2023-09-26 13:17:50 +02:00
..
Negative.hs Error for an instance subsumed by other instances (#2375) 2023-09-21 11:12:49 +01:00
Positive.hs Add nodes with no edges to the dependency graph (#2390) 2023-09-26 13:17:50 +02:00