Skip to content
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

Warn about unexpected behaviour of io.debug #768

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

Janiczek
Copy link
Contributor

No description provided.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap long lines before 80 columns please.

Could you remove the bit about it being "unexpected" and instead document that different types can have the same runtime representation, and due to types no longer existing at runtime it not being possible to tell which Gleam syntax is the one the programmer expects to see. For example, ints and floats can be indistinguishable on JavaScript runtimes.

@Janiczek Janiczek requested a review from lpil December 19, 2024 18:21
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@lpil lpil merged commit 1a8cc09 into gleam-lang:main Dec 20, 2024
7 checks passed
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