File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -259,17 +259,14 @@ agdaCoreCompile env _ _ def = do
259259 , preSigCons = preSigCons
260260 }
261261 Core. ConstructorDefn cons -> do
262- -- (diode-lang): Why is the "old" tcg_cons referenced here,
263- -- if it was updated to `ntcg`?
264- let (dID, cID) = tcg_cons Map. ! defName
262+ -- It should not matter here whether one uses `tcg_cons` (old one) or `globalCons ntcg` (new one), but let's use the new one to be safe
263+ let (dID, cID) = globalCons ntcg Map. ! defName
265264 liftIO $ writeIORef ioPreSig $
266265 PreSignature
267266 { preSigDefs = preSigDefs
268267 , preSigData = preSigData
269268 , preSigCons = Map. insert (indexToNat dID, indexToNat cID) cons preSigCons
270269 }
271-
272- -- (diode-lang): Health check signature here
273270 return $ pure def'
274271
275272
You can’t perform that action at this time.
0 commit comments