Skip to content

Commit 5f611a7

Browse files
Correct type issues in rust type definition command
1 parent 99619be commit 5f611a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SAWScript/HeapsterBuiltins.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ heapster_define_rust_type _bic _opts henv str =
613613
Right _ -> fail "LLVM arch width is 0!"
614614
env <- liftIO $ readIORef (heapsterEnvPermEnvRef henv)
615615
withKnownNat w $ withLeqProof leq_proof $
616-
do nsh <- parseRustTypeString env w str
616+
do SomeNamedShape nsh <- parseRustTypeString env w str
617617
let env' = permEnvAddNamedShape env nsh
618618
liftIO $ writeIORef (heapsterEnvPermEnvRef henv) env'
619619

0 commit comments

Comments
 (0)