Skip to content

Backport inference fixes#216

Merged
kpamnany merged 2 commits intov1.10.2+RAIfrom
kp-backport-typeerror-fixes
Feb 25, 2025
Merged

Backport inference fixes#216
kpamnany merged 2 commits intov1.10.2+RAIfrom
kp-backport-typeerror-fixes

Conversation

@kpamnany
Copy link
Copy Markdown

@kpamnany kpamnany commented Feb 19, 2025

PR Description

Bring in two commits (first, second) to fix RAI-34444.

Checklist

Requirements for merging:

PR JuliaLang#51317 was a bit over-eager about inferring inferring unreachable
code methods. Filter out the Vararg case, since that can be handled by
simply removing it instead of discarding the whole call.

Fixes JuliaLang#56628

(cherry picked from commit eb9f24c)
@kpamnany kpamnany merged commit a85728e into v1.10.2+RAI Feb 25, 2025
1 check passed
@kpamnany kpamnany deleted the kp-backport-typeerror-fixes branch February 25, 2025 15:53
nickrobinson251 pushed a commit that referenced this pull request Feb 26, 2025
* inference: avoid inferring unreachable code methods (JuliaLang#51317)

(cherry picked from commit 0a82b71)

* inference: ensure inferring reachable code methods (JuliaLang#57088)

PR JuliaLang#51317 was a bit over-eager about inferring inferring unreachable
code methods. Filter out the Vararg case, since that can be handled by
simply removing it instead of discarding the whole call.

Fixes JuliaLang#56628

(cherry picked from commit eb9f24c)

---------

Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants