mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 22:32:19 +03:00
minor bugfix: confused two branches of if
This commit is contained in:
parent
0de2f6dea8
commit
2e17a89ef0
@ -93,8 +93,8 @@ holeData gam env fn args ty
|
||||
= do hdata <- extractHoleData gam env fn args ty
|
||||
pp <- getPPrint
|
||||
pure $ if showImplicits pp
|
||||
then record { context $= dropShadows } hdata
|
||||
else hdata
|
||||
then hdata
|
||||
else record { context $= dropShadows } hdata
|
||||
where
|
||||
dropShadows : List HolePremise -> List HolePremise
|
||||
dropShadows [] = []
|
||||
|
Loading…
Reference in New Issue
Block a user