Skip to content

Fix: Improve break label error message#60820

Closed
gamila-wisam wants to merge 1 commit intoJuliaLang:masterfrom
gamila-wisam:fix-better-break-error
Closed

Fix: Improve break label error message#60820
gamila-wisam wants to merge 1 commit intoJuliaLang:masterfrom
gamila-wisam:fix-better-break-error

Conversation

@gamila-wisam
Copy link

@gamila-wisam gamila-wisam commented Jan 25, 2026

Fixes #60817

  • Updated the break label error message to be specific.
  • Added a syntax test in test/syntax.jl to validate the new message.

@gamila-wisam gamila-wisam changed the title Fix #60817: Improve break label error message Fix: Improve break label error message Jan 25, 2026
@jakobnissen
Copy link
Member

This is already fixed in #60821 . Thank you anyway, @gamila-wisam !

@gamila-wisam
Copy link
Author

Thanks for the update!, closing now.

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.

Poor error message when breaking from wrongly-named loop

3 participants