Make "forget" actually forget in reflected Elab

This commit is contained in:
David Raymond Christiansen 2015-04-15 13:16:51 +02:00
parent 6c7c8870b2
commit 3fe74aa6a7

View File

@ -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