mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-04 21:57:25 +03:00
one line fix for issue where TDNR decisions not being substituted into TLCs
This commit is contained in:
parent
113740f20b
commit
1483b68d8c
@ -132,7 +132,7 @@ synthesizeFile preexistingTypes preexistingNames unisonFile = do
|
||||
(topLevelComponents :: [[(v, Term v, Type v)]]) <-
|
||||
let
|
||||
topLevelBindings :: Map Name (Term v)
|
||||
topLevelBindings = Map.mapKeys Var.name $ extractTopLevelBindings term
|
||||
topLevelBindings = Map.mapKeys Var.name $ extractTopLevelBindings tdnrTerm
|
||||
extractTopLevelBindings (Term.LetRecNamed' bs _) = Map.fromList bs
|
||||
extractTopLevelBindings _ = Map.empty
|
||||
tlcsFromTypechecker =
|
||||
|
Loading…
Reference in New Issue
Block a user