Skip to content

Commit

Permalink
Fix entities topping
Browse files Browse the repository at this point in the history
20w45a added a new anonymous Spliterator implementation, which was causing issues since it doesn't refer to a normal constant.
  • Loading branch information
Pokechu22 committed Feb 17, 2022
1 parent 76dca37 commit 15525e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions burger/toppings/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ def _entities_1point13(aggregate, classloader, verbose):
builderclass = None
funcclass = None # 19w08a+ - a functional interface for creating new entities
for entry in inner_classes:
if entry.outer_class_info_index == 0:
# Ignore anonymous classes
continue

outer = cf.constants.get(entry.outer_class_info_index)
if outer.name == listclass:
inner = cf.constants.get(entry.inner_class_info_index)
Expand Down

0 comments on commit 15525e2

Please sign in to comment.