Landing: 4b5848cf526e

Project / Subsystem

gcc / modula2

Date

2026-09-29

Author

Gaius Mulley

Commit

4b5848cf526e24b21d9bef6f25fc9e6f56775a0a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
modula2
patch_id
—
commit_hash
4b5848cf526e24b21d9bef6f25fc9e6f56775a0a
source_type
github
headline
Modula2: Filter spelling hints for VAL intrinsic function parameters
tldr
Improves Modula2 compiler's VAL intrinsic function by filtering spelling hints based on parameter context.
author
Gaius Mulley
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • modula2
  • • compiler
  • • diagnostics
discussion_id_link
—
bugzilla_pr
—
date
2026-09-29T00:00:00.000Z

This patch enhances the Modula2 compiler’s intrinsic procedure function VAL by adding context filtering for its parameters. The first parameter’s type and the second parameter’s usage (constants, expressions, or variables) are now considered to filter out incorrect spelling suggestions. This aims to reduce noise and improve the developer experience when using the VAL function.