Skip to content

is_kw field isn't always initialized #171

Closed
@dhylands

Description

@dhylands

I was debugging a problem I was seeing where print wasn't being called correctly.

It seems that is_kw isn't always being intiialized, which means that it gets whatever value happens to be in the heap. Places that it isn't being initialized include

all of the rt_make_function_xxx function which allocate mp_obj_fun_native_t's from the heap and initialize everything but is_kw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions