Skip to content

Commit 951213b

Browse files
authored
Merge pull request #2562 from GaloisInc/1964-allow-importing-cryptol-submodules-into-saw
1964 allow importing cryptol submodules into saw
2 parents bb4e70e + 66025b0 commit 951213b

File tree

30 files changed

+516
-144
lines changed

30 files changed

+516
-144
lines changed

crux-mir-comp/src/Mir/Cryptol.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ loadCryptolFunc col sig modulePath name = do
241241
ce' <- liftIO $ SAW.importModule sc ce (Right modName) Nothing SAW.PublicAndPrivate Nothing
242242
liftIO (writeIORef (mirCryEnv mirState) ce')
243243
-- (m, _ce') <- liftIO $ SAW.loadCryptolModule sc ce (Text.unpack modulePath)
244-
-- tt <- liftIO $ SAW.lookupCryptolModule m (Text.unpack name)
244+
-- tt <- liftIO $ SAW.extractDefFromCryptolModule m (Text.unpack name)
245245
tt <- liftIO $ SAW.parseTypedTerm sc ce' $
246246
SAW.InputText name "<string>" 1 1
247247

0 commit comments

Comments
 (0)