Skip to content

Suppress init warnings in generated log block#193

Open
ASVIEST wants to merge 1 commit into
status-im:masterfrom
ASVIEST:fix/uninit-proveinit-log-macro
Open

Suppress init warnings in generated log block#193
ASVIEST wants to merge 1 commit into
status-im:masterfrom
ASVIEST:fix/uninit-proveinit-log-macro

Conversation

@ASVIEST

@ASVIEST ASVIEST commented Mar 10, 2026

Copy link
Copy Markdown

Because the macro expands at the call site, rules such as

--warningAsError:Uninit
--warningAsError:ProveInit

apply to the generated code as well.

This makes it impossible to use log without this patch in projects that use

--warningAsError:Uninit
--warningAsError:ProveInit
--experimental:strictDefs

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