We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb31c44 commit 3865091Copy full SHA for 3865091
src/ansi-c/c_typecheck_base.cpp
@@ -932,8 +932,8 @@ void c_typecheck_baset::typecheck_declaration(
932
// create a contract symbol
933
symbolt contract;
934
contract.name = "contract::" + id2string(new_symbol.name);
935
- contract.base_name = new_symbol.name;
936
- contract.pretty_name = new_symbol.name;
+ contract.base_name = contract.name;
+ contract.pretty_name = contract.name;
937
contract.is_property = true;
938
contract.type = code_type;
939
contract.mode = new_symbol.mode;
0 commit comments