Skip to content

#651 breaks operations that take dict[str, T] #662

@jfeser

Description

@jfeser

This code fails:

from effectful.ops.types import NotHandled, Operation

@Operation.define
def f[T](*args: T) -> T:
    raise NotHandled

print(f({"x": 0, "z": 3}, {"y": 1, "x": 2}))

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