Skip to content

[pull] master from JuliaLang:master#2392

Merged
pull[bot] merged 2 commits intoMLH-Fellowship:masterfrom
JuliaLang:master
Mar 21, 2026
Merged

[pull] master from JuliaLang:master#2392
pull[bot] merged 2 commits intoMLH-Fellowship:masterfrom
JuliaLang:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 21, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

… (#61380)

Types like `NTuple{<:Any, 3}` produce `UnionAll`-wrapped types with
non-`Type` components (e.g., the integer `3`). When `fieldtype_tfunc`
encounters such a type, `rewrap_unionall` fails with a `TypeError`
because it cannot wrap a non-`Type` value in a `UnionAll`.

Fix this by skipping malformed fields in the non-`Const` path and
returning `Bottom` in the `Const` path, since the runtime `fieldtype`
would throw for these types anyway.

- fixes #30807
Fixed most errors except for `inference/method-error`. As a result, many
unused local variables and arguments were removed, and several undefined
variables were fixed.

Import-related issues were also addressed, including removal of unused
imports and alphabetical sorting of imports.
@pull pull Bot locked and limited conversation to collaborators Mar 21, 2026
@pull pull Bot added the ⤵️ pull label Mar 21, 2026
@pull pull Bot merged commit 7d591fc into MLH-Fellowship:master Mar 21, 2026
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants