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 78efc2c commit 7581c18Copy full SHA for 7581c18
src/ansi-c/c_typecheck_base.cpp
@@ -877,8 +877,8 @@ void c_typecheck_baset::typecheck_declaration(
877
// create a contract symbol
878
symbolt contract;
879
contract.name = "contract::" + id2string(new_symbol.name);
880
- contract.base_name = new_symbol.name;
881
- contract.pretty_name = new_symbol.name;
+ contract.base_name = contract.name;
+ contract.pretty_name = contract.name;
882
contract.is_property = true;
883
contract.type = code_type;
884
contract.mode = new_symbol.mode;
0 commit comments