Skip to content

need mutation to display the desired error#289

Open
GottZ wants to merge 1 commit intoSobeston:masterfrom
GottZ:patch-1
Open

need mutation to display the desired error#289
GottZ wants to merge 1 commit intoSobeston:masterfrom
GottZ:patch-1

Conversation

@GottZ
Copy link

@GottZ GottZ commented Jan 15, 2025

without mutating y, instead of showing the error: cannot assign to constant error, you will get error: local variable is never mutated note: consider using 'const'

without mutating `y`, instead of showing the `error: cannot assign to constant` error, you will get `error: local variable is never mutated note: consider using 'const'`
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.

1 participant