Skip to content

fix clash with name process #4812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2025

Conversation

CrowdHailer
Copy link
Contributor

If you define a function called process in the same module as you use echo then echo fails with this cryptic error.

TypeError: Cannot read properties of undefined (reading 'write')

No fun.

This fixes it.

@lpil lpil force-pushed the fix-clash-with-name-process branch from fec85cb to f1549a9 Compare July 31, 2025 09:37
@lpil lpil merged commit e36929d into gleam-lang:main Jul 31, 2025
12 checks passed
@CrowdHailer CrowdHailer deleted the fix-clash-with-name-process branch July 31, 2025 15:01
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.

2 participants