mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
Lift ! notation out of record updates
It's not a block, so should be lifted
This commit is contained in:
parent
f3cb5a8648
commit
0612bbc1ca
@ -330,14 +330,15 @@ mutual
|
||||
= pure $ IUnifyLog fc !(desugarB side ps tm)
|
||||
|
||||
desugarUpdate : {auto s : Ref Syn SyntaxInfo} ->
|
||||
{auto b : Ref Bang BangData} ->
|
||||
{auto c : Ref Ctxt Defs} ->
|
||||
{auto u : Ref UST UState} ->
|
||||
{auto m : Ref MD Metadata} ->
|
||||
Side -> List Name -> PFieldUpdate -> Core IFieldUpdate
|
||||
desugarUpdate side ps (PSetField p v)
|
||||
= pure (ISetField p !(desugar side ps v))
|
||||
= pure (ISetField p !(desugarB side ps v))
|
||||
desugarUpdate side ps (PSetFieldApp p v)
|
||||
= pure (ISetFieldApp p !(desugar side ps v))
|
||||
= pure (ISetFieldApp p !(desugarB side ps v))
|
||||
|
||||
expandList : {auto s : Ref Syn SyntaxInfo} ->
|
||||
{auto c : Ref Ctxt Defs} ->
|
||||
|
Loading…
Reference in New Issue
Block a user