Skip to content

Commit

Permalink
Fix an issue caused by an incorrect type construcion.
Browse files Browse the repository at this point in the history
The tuple _value_ constructor was being used instead of the
tuple _type_ constructor, which was causing an ill-typed
term to be emitted.

Fixes #1119
  • Loading branch information
robdockins committed Mar 11, 2021
1 parent 9da72c5 commit 33fa847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAWScript/Crucible/LLVM/Override.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ typeToSC sc t =
scVecType sc n ty'
Crucible.Struct fields ->
do fields' <- V.toList <$> traverse (typeToSC sc . view Crucible.fieldVal) fields
scTuple sc fields'
scTupleType sc fields'

------------------------------------------------------------------------

Expand Down

0 comments on commit 33fa847

Please sign in to comment.