[ty] Fix receiver coloring for aliased decorators by charliermarsh · Pull Request #24884 · astral-sh/ruff (original) (raw)

@astral-sh-bot Bot added the ty

Multi-file analysis & type inference

label

Apr 27, 2026

AlexWaygood

@carljm carljm removed their request for review

April 27, 2026 21:32

AlexWaygood

@charliermarsh

AlexWaygood

@charliermarsh

AlexWaygood

@charliermarsh @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@charliermarsh

thejchap pushed a commit to thejchap/ruff that referenced this pull request

May 23, 2026

Summary

We already expose is_classmethod, etc., on function type, and those methods already support aliasing, so the LSP just uses those directly now.

Closes astral-sh/ty#3358.


Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})