Skip to content

Commit

Permalink
Update misc/codegen/lib/ql.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paolo Tranquilli <[email protected]>
  • Loading branch information
hvitved and redsun82 authored Sep 16, 2024
1 parent 8d68bdf commit 917729d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/codegen/lib/ql.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ class Class:
hideable: bool = False

def __post_init__(self):
self.bases = [Base(str(b), str(prev)) for b, prev in zip(self.bases, itertools.chain([""], self.bases))]
self.bases_impl = [Base(str(b), str(prev)) for b, prev in zip(
self.bases_impl, itertools.chain([""], self.bases_impl))]
get_bases = lambda bases: [Base(str(b), str(prev)) for b, prev in zip(bases, itertools.chain([""], bases))]
self.bases = get_bases(self.bases)
self.bases_impl = get_bases(self.bases_impl)
if self.properties:
self.properties[0].first = True

Expand Down

0 comments on commit 917729d

Please sign in to comment.