Skip to content

transpiler: BuiltInCall variant does not have field return_type #11

@Prestgg1

Description

@Prestgg1

Error

error[E0026]: variant `BuiltInCall` does not have a field named `return_type`
  --> crates/transpiler/src/helper.rs:53:13
   |
53 |             return_type,
   |             ^^^^^^^^^^^ variant `BuiltInCall` does not have this field

error[E0026]: variant `BuiltInCall` does not have a field named `return_type`
  --> crates/transpiler/src/lib.rs:38:13
   |
38 |             return_type,
   |             ^^^^^^^^^^^ variant `BuiltInCall` does not have this field

The Expr::BuiltInCall variant doesn't have a return_type field. The transpiler pattern match tries to destructure it, but it doesn't exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions