Skip to content

Fix constant lookup in ivar initializer blocks#16678

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
nobodywasishere:nobody/14827
Feb 26, 2026
Merged

Fix constant lookup in ivar initializer blocks#16678
straight-shoota merged 2 commits intocrystal-lang:masterfrom
nobodywasishere:nobody/14827

Conversation

@nobodywasishere
Copy link
Contributor

CLoses #14827

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:semantic labels Feb 24, 2026
@ysbaddaden
Copy link
Collaborator

ysbaddaden commented Feb 24, 2026

Note: MT failure is unrelated to this PR (see #16679).

@ysbaddaden ysbaddaden added this to the 1.20.0 milestone Feb 24, 2026
@straight-shoota straight-shoota changed the title semantic: fix constant lookup in ivar initializer blocks Fix constant lookup in ivar initializer blocks Feb 26, 2026
@straight-shoota straight-shoota merged commit 7fded65 into crystal-lang:master Feb 26, 2026
45 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:semantic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fully qualified name must be used inside a block when assigning to an ivar.

4 participants