We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b008bf3 commit 6b064b3Copy full SHA for 6b064b3
src/java_bytecode/java_bytecode_convert_method.cpp
@@ -380,11 +380,12 @@ void java_bytecode_convert_method_lazy(
380
381
if(is_constructor(method_symbol.base_name))
382
{
383
- // we use full.class_name.class_name(...) as pretty name
384
- // for constructors
+ // we use full.class_name(...) as pretty name
+ // for constructors -- the idea is that they have
385
+ // an empty declarator.
386
method_symbol.pretty_name=
- id2string(class_symbol.pretty_name) + "." +
387
- id2string(class_symbol.base_name) + signature_string;
+ id2string(class_symbol.pretty_name) + signature_string;
388
+
389
member_type.set_is_constructor();
390
}
391
else
0 commit comments