Landing: 074937c85385

Project / Subsystem

gcc / modula2

Date

2026-09-26

Author

Gaius Mulley

Commit

074937c853850cef4281931b6709f95098a486c9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
modula2
patch_id
—
commit_hash
074937c853850cef4281931b6709f95098a486c9
source_type
github
headline
Modula-2: Improve spell-checking for symbols and types
tldr
Enhances Modula-2 compiler's spell-checking to include base modules, types, and constants.
author
Gaius Mulley
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • modula2
  • • compiler
  • • syntax error
  • • symbol resolution
discussion_id_link
—
bugzilla_pr
—
date
2026-09-26T00:00:00.000Z

This patch improves the Modula-2 compiler’s symbol spell-checking capabilities. It ensures that the base module is considered first during scope checks and allows filtering of symbols to include only variables, types, or constants. This prevents the scope check from incorrectly stopping at module boundaries and provides more accurate suggestions for misspelled identifiers.