Field with discriminator on generic causes AssertionError . (1.9.0a1)
Field with discriminator on generic causes AssertionError . (1.9.0a1): a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). When defining a Generic, with a Field that has descriminator, filling in the type variable of the generic class…
The task
When defining a Generic, with a `Field` that has descriminator, filling in the type variable of the generic class fails with an ``AssertionError``.