Update misc/codegen/lib/ql.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Tom Hvitved
2025-01-31 09:45:52 +01:00
parent 55ac9ae021
commit e78b79fa45

View File

@@ -122,7 +122,7 @@ class Class:
if self.properties:
self.properties[0].first = True
for prop in self.properties:
if prop.type is self.name:
if prop.type == self.name:
prop.type_is_self = True
@property