mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 03:14:14 +03:00
Make "forget" actually forget in reflected Elab
This commit is contained in:
parent
6c7c8870b2
commit
3fe74aa6a7
@ -1706,7 +1706,7 @@ runTactical fc env tm = do tm' <- eval tm
|
||||
returnUnit
|
||||
| n == tacN "prim__Forget", [tt] <- args
|
||||
= do tt' <- reifyTT tt
|
||||
fmap fst . get_type_val $ reflect tt'
|
||||
fmap fst . get_type_val . reflectRaw $ forget tt'
|
||||
| n == tacN "prim__Attack", [] <- args
|
||||
= do attack
|
||||
returnUnit
|
||||
|
Loading…
Reference in New Issue
Block a user