Skip to content

Commit

Permalink
Update libsolidity/codegen/YulUtilFunctions.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
  • Loading branch information
mijovic and ekpyron authored Oct 8, 2020
1 parent e807fd2 commit 741a527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/codegen/YulUtilFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ string YulUtilFunctions::conversionFunction(Type const& _from, Type const& _to)

if (fromStructType.location() == toStructType.location() && toStructType.isPointer())
{
solUnimplementedAssert(toStructType.sizeOnStack() == 1, "");
solUnimplementedAssert(toStructType.sizeOnStack() == 1 && fromStructType.sizeOnStack() == 1, "");
body = "converted := value";
}
else
Expand Down

0 comments on commit 741a527

Please sign in to comment.