You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stubs: a class lists only one of its Kotlin supertypes (Arrangement.HorizontalOrVertical) #71
In the Compose stubs (develop fa2558e, run 37098191598) Arrangement.HorizontalOrVertical is rendered class HorizontalOrVertical(Horizontal), but in Kotlin it implements both Arrangement.Horizontal and Arrangement.Vertical. mypy then rejects Column(verticalArrangement=Arrangement.SpaceBetween) (a Vertical slot), and pythonx-compose has to annotate SpaceBetween, Center, spacedBy's return etc. as Any.
Completion: a stub renders every Kotlin supertype that has a stub class as a base (class HorizontalOrVertical(Horizontal, Vertical)), in an MRO-valid order; a plugin stub test pins it; tools/stubs/consumer.py gains Column(verticalArrangement=Arrangement.SpaceBetween, content=...) and Row(horizontalArrangement=Arrangement.SpaceBetween, ...) checked by check-stubs.sh (red on today's stubs).
Activity
b-re-w commentedon Oct 3, 2026
Landed in develop via #82.