Skip to content

feat: configurable warnings (uninit locals, unused unfold)#1073

Merged
strub merged 1 commit into
mainfrom
opt-warnings
Jul 13, 2026
Merged

feat: configurable warnings (uninit locals, unused unfold)#1073
strub merged 1 commit into
mainfrom
opt-warnings

Conversation

@strub

@strub strub commented Jul 10, 2026

Copy link
Copy Markdown
Member

Add per-warning enable/disable flags Warn:uninit and Warn:unused_unfold (on by default). Toggle in-script via pragma, on the CLI via -pragmas, or project-wide via a new pragmas key in easycrypt.project.

@strub strub self-assigned this Jul 10, 2026
@strub strub enabled auto-merge July 10, 2026 16:55
@strub strub requested a review from oskgo July 10, 2026 18:00
Add per-warning enable/disable flags Warn:uninit and Warn:unused_unfold
(on by default). Toggle in-script via pragma, on the CLI via -pragmas, or
project-wide via a new pragmas key in easycrypt.project.
@strub strub requested a review from fdupress July 13, 2026 19:11

@fdupress fdupress left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm. Support for pragmas in .project files might make it easier to unify our approaches to options in general.

@strub strub added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit 236979f Jul 13, 2026
19 checks passed
@strub strub deleted the opt-warnings branch July 13, 2026 20:13
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