File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -345,10 +345,11 @@ static void infer_opaque_type_fields(
345
345
// Not present here: check the superclass.
346
346
INVARIANT (
347
347
!class_type->bases ().empty (),
348
- " class '" + id2string (class_symbol->name )
349
- + " ' (which was missing a field '" + id2string (component_name)
350
- + " ' referenced from method '" + id2string (method.name )
351
- + " ') should have an opaque superclass" );
348
+ " class '" + id2string (class_symbol->name ) +
349
+ " ' (which was missing a field '" + id2string (component_name) +
350
+ " ' referenced from method '" + id2string (method.name ) +
351
+ " ' of class '" + id2string (parse_tree.parsed_class .name ) +
352
+ " ') should have an opaque superclass" );
352
353
const auto &superclass_type = class_type->bases ().front ().type ();
353
354
class_symbol_id = superclass_type.get_identifier ();
354
355
class_type = &to_java_class_type (ns.follow (superclass_type));
You can’t perform that action at this time.
0 commit comments