Skip to content

Commit

Permalink
Merge pull request #15757 from vtjl10/simple2
Browse files Browse the repository at this point in the history
fix: typos in `SymbolicTypes.cpp`
  • Loading branch information
cameel authored Jan 23, 2025
2 parents e784244 + b59eafa commit 1115955
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 1115955

Please sign in to comment.