Skip to content

feat(move): Move view functions (compiler implementation) - Linter Warning#11444

Open
lollobene wants to merge 2 commits intovm-lang/8254-move-view-functionsfrom
vm-lang/11413-move-view-functions-linter-warning
Open

feat(move): Move view functions (compiler implementation) - Linter Warning#11444
lollobene wants to merge 2 commits intovm-lang/8254-move-view-functionsfrom
vm-lang/11413-move-view-functions-linter-warning

Conversation

@lollobene
Copy link
Copy Markdown
Contributor

@lollobene lollobene commented May 6, 2026

Description of change

Linter warning implementation

This change gates the Iota view-function suggestion lint behind --lint.

ViewFunctionVisitor is no longer included in the default Iota linter set, so normal builds do not emit warnings for functions that could be annotated with #[view]. The visitor now only runs at LintLevel::All, which is enabled through the existing --lint flag.

Links to any relevant issues

fixes #11413

@iota-ci iota-ci added sc-platform Issues related to the Smart Contract Platform group. vm-language Issues related to the VM & Language Team labels May 6, 2026
@lollobene lollobene self-assigned this May 6, 2026
@lollobene lollobene force-pushed the vm-lang/8254-move-view-functions branch 2 times, most recently from 05dfebd to cb583a9 Compare May 7, 2026 14:41
@lollobene lollobene force-pushed the vm-lang/11413-move-view-functions-linter-warning branch from d05d057 to c099118 Compare May 9, 2026 08:47
@lollobene lollobene marked this pull request as ready for review May 9, 2026 09:14
@lollobene lollobene requested a review from a team as a code owner May 9, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sc-platform Issues related to the Smart Contract Platform group. vm-language Issues related to the VM & Language Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants