File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,7 @@ mutual
663
663
letBinder : Rule LetBinder
664
664
letBinder = do s <- bounds (MkPair <$> multiplicity fname <*> expr plhs fname indents)
665
665
(rig, pat) <- pure s. val
666
- ty <- option (PImplicit (boundToFC fname s))
666
+ ty <- option (PImplicit (virtualiseFC $ boundToFC fname s))
667
667
(decoratedSymbol fname " :" *> typeExpr (pnoeq pdef) fname indents)
668
668
(decoratedSymbol fname " =" <|> decoratedSymbol fname " :=" )
669
669
val <- expr pnowith fname indents
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ mkLets fname = letFactory buildLets
64
64
buildLets [] sc = sc
65
65
buildLets (b :: rest) sc
66
66
= let (MkLetBinder rig pat ty val alts) = b. val
67
- fc = boundToFC fname b
67
+ fc = virtualiseFC $ boundToFC fname b
68
68
in PLet fc rig pat ty val (buildLets rest sc) alts
69
69
70
70
export
You can’t perform that action at this time.
0 commit comments