Skip to content

Commit 63b3158

Browse files
committed
Fixed test failure with recent ast_decompiler
1 parent 19aa241 commit 63b3158

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fluent_compiler/codegen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ def as_ast(self):
392392
),
393393
body=self.body.as_ast_list(allow_empty=False),
394394
decorator_list=[],
395+
type_params=[], # ast_decompiler compat
395396
returns=None, # ast_decompiler compat
396397
**DEFAULT_AST_ARGS,
397398
)

0 commit comments

Comments
 (0)