Skip to content

Made sure that FlagTokens are initialized with an FQAtom, not a regular Atom

Benjamin Winger requested to merge bmwinger/portmod:ambiguousatom_fix into master

It looks like mypy isn't able to detect the type of arguments to NamedTuple when we adjust the type of an argument in a subclass. I.e. ideally we should have been able to detect that FlagToken is being initialized with an Atom instead of an FQAtom.

Fixes openmw-mods#322 (closed).

Edited by Benjamin Winger

Merge request reports