Skip to content

Add Proc#[] as alias to #call#16220

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
andrykonchin:ak/add-alias-for-proc-call
Oct 20, 2025
Merged

Add Proc#[] as alias to #call#16220
straight-shoota merged 1 commit intocrystal-lang:masterfrom
andrykonchin:ak/add-alias-for-proc-call

Conversation

@andrykonchin
Copy link
Contributor

@andrykonchin andrykonchin commented Oct 15, 2025

Changes:

  • added Proc#[] that is equivalent to #call

Closes #11133

@andrykonchin andrykonchin force-pushed the ak/add-alias-for-proc-call branch from dbe00d4 to c379344 Compare October 16, 2025 20:15
@straight-shoota straight-shoota changed the title Alias Proc#[] to #call Add Proc#[] as alias to #call Oct 16, 2025
@ysbaddaden ysbaddaden added this to the 1.19.0 milestone Oct 18, 2025
@straight-shoota straight-shoota merged commit ada0e87 into crystal-lang:master Oct 20, 2025
39 checks passed
straight-shoota pushed a commit to straight-shoota/crinja that referenced this pull request Jan 16, 2026
This is necessary for compatibility with Crystal 1.19 due to the addition of `Proc#[]` in crystal-lang/crystal#16220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alias Proc#[] to #call

3 participants