@@ -1237,17 +1237,17 @@ elab ist info emode opts fn tm
12371237 elab' ina fc (PRunElab fc' tm ns) =
12381238 do attack
12391239 n <- getNameFrom (sMN 0 "tacticScript")
1240− n' <- getNameFrom (sMN 0 "tacticExpr")
12411240 let scriptTy = RApp (Var (sNS (sUN "Elab")
12421241 ["Elab", "Reflection", "Language"]))
12431242 (Var unitTy)
12441243 claim n scriptTy
1245− movelast n
1246− letbind n' scriptTy (Var n)
12471244 focus n
1245+ attack -- to get an extra hole
12481246 elab' ina (Just fc') tm
1247+ script <- get_guess
1248+ solve -- eliminate the hole. Becuase there are no references, the script is only in the binding
12491249 env <- get_env
1250− runElabAction ist (maybe fc' id fc) env (P Bound n' Erased) ns
1250+ runElabAction ist (maybe fc' id fc) env script ns
12511251 solve
12521252 elab' ina fc (PConstSugar constFC tm) =
12531253 -- Here we elaborate the contained term, then calculate