Skip to content

Commit

Permalink
handle Object in codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Nov 26, 2023
1 parent cbac8f3 commit b379897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codegen/lib/code/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def burger_type_to_rust_type(burger_type, field_name: Optional[str] = None, inst
field_type_rs = 'todo!()'
elif burger_type == 'Iterator':
field_type_rs = 'todo!()'
elif burger_type == 'Object':
# depends on context
field_type_rs = 'todo!()'
elif burger_type == 'enum':
if not instruction or not mappings or not obfuscated_class_name:
field_type_rs = 'todo!("enum")'
Expand Down

0 comments on commit b379897

Please sign in to comment.