Skip to content

Commit

Permalink
Update SymbolicTypes.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjl10 authored and cameel committed Jan 23, 2025
1 parent e784244 commit b59eafa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libsolidity/formal/SymbolicTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ SortPointer smtSort(frontend::Type const& _type)
tupleName = tupleSort->name;
else if (isContract(*baseType))
// use a common sort for contracts so inheriting contracts do not cause conflicting SMT types
// solc handles types mismtach
// solc handles types mismatch
tupleName = "contract";
else if (isFunction(*baseType))
// use a common sort for functions so pure and view modifier do not cause conflicting SMT types
// solc handles types mismtach
// solc handles types mismatch
tupleName = "function";
else if (isAddress(*baseType))
// use a common sort for address and address payable so it does not cause conflicting SMT types
// solc handles types mismtach
// solc handles types mismatch
tupleName = "address";
else if (
baseType->category() == frontend::Type::Category::Integer ||
Expand Down

0 comments on commit b59eafa

Please sign in to comment.