Skip to content

[mlir][Sol] Cover modifier-on-constructor in lit tests#130

Merged
abinavpp merged 1 commit into
mainfrom
app-modifier-on-constructor-kind
May 22, 2026
Merged

[mlir][Sol] Cover modifier-on-constructor in lit tests#130
abinavpp merged 1 commit into
mainfrom
app-modifier-on-constructor-kind

Conversation

@abinavpp

@abinavpp abinavpp commented May 14, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Test-only PR that extends lit-test coverage to exercise modifiers applied to constructors, and removes two corresponding entries from the MLIR semantic-test failures list now that they pass.

Changes:

  • Adds a constructor() m(0) {} to test/lit/mlirCodegen/modifier.sol and regenerates the FileCheck assertions.
  • Adds the same constructor to test/lit/mlirCodegen/EVM/modifier.sol and regenerates the EVM lowering assertions.
  • Removes modifier_in_constructor_ice and modifiers_in_construction_context from test/mlirSemtestFailures.txt.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/mlirSemtestFailures.txt Drops two modifier-on-constructor tests from the failure list.
test/lit/mlirCodegen/modifier.sol Adds constructor with modifier and refreshes CHECK lines.
test/lit/mlirCodegen/EVM/modifier.sol Adds constructor with modifier and refreshes CHECK lines for EVM lowering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vladimirradosavljevic vladimirradosavljevic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@abinavpp abinavpp force-pushed the app-blockhash-blobhash-selfdestruct branch from 595e744 to 331ef51 Compare May 18, 2026 23:53
@abinavpp abinavpp force-pushed the app-modifier-on-constructor-kind branch 2 times, most recently from 480103b to e16453d Compare May 22, 2026 11:08
@abinavpp abinavpp force-pushed the app-blockhash-blobhash-selfdestruct branch 2 times, most recently from 7e57ea7 to 08101cf Compare May 22, 2026 11:56
Base automatically changed from app-blockhash-blobhash-selfdestruct to main May 22, 2026 11:57
@abinavpp abinavpp force-pushed the app-modifier-on-constructor-kind branch from e16453d to fc2ff64 Compare May 22, 2026 11:57
@abinavpp abinavpp merged commit 6ed76cb into main May 22, 2026
1 check passed
@abinavpp abinavpp deleted the app-modifier-on-constructor-kind branch May 22, 2026 11:57
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.

3 participants