fix: caching condition
This commit is contained in:
parent
e3b8013c4e
commit
f570d2a1c3
1 changed files with 3 additions and 3 deletions
|
|
@ -530,10 +530,10 @@ usingTransparency TransparencyMode.reducible $ do
|
|||
(pure (some result)))
|
||||
(pure none)
|
||||
};
|
||||
if type.hasMVar then do
|
||||
modify $ fun s => { cache := { synthInstance := s.cache.synthInstance.insert type result, .. s.cache }, .. s };
|
||||
if type.hasMVar then
|
||||
pure result
|
||||
else
|
||||
else do
|
||||
modify $ fun s => { cache := { synthInstance := s.cache.synthInstance.insert type result, .. s.cache }, .. s };
|
||||
pure result
|
||||
|
||||
/--
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue