feat(slang): modifiers - #698
Draft
hedgar2017 wants to merge 1 commit into
Draft
Conversation
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 8, 2026 01:14
b508db3 to
8ca0bfa
Compare
hedgar2017
force-pushed
the
az-slang-inheritance
branch
from
September 8, 2026 07:23
7cbb0fa to
586eea6
Compare
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 8, 2026 07:23
8ca0bfa to
2634941
Compare
Coverage Summary
|
hedgar2017
force-pushed
the
az-slang-inheritance
branch
from
September 8, 2026 17:15
586eea6 to
edf5382
Compare
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 8, 2026 17:15
2634941 to
245f83c
Compare
hedgar2017
force-pushed
the
az-slang-inheritance
branch
from
September 8, 2026 22:16
edf5382 to
b1f0bb9
Compare
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 8, 2026 22:16
245f83c to
b75bf84
Compare
hedgar2017
force-pushed
the
az-slang-inheritance
branch
from
September 9, 2026 04:39
b1f0bb9 to
0e4889d
Compare
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 9, 2026 04:39
b75bf84 to
9c10e30
Compare
Lowers modifiers in the Slang frontend: a `sol.modifier` defined at the first invocation naming it, `sol.modifier_invocation` regions evaluating the arguments in each modified function's entry block after its base-constructor call, and `sol.placeholder` for `_`. Which modifier an entry runs is Slang's answer, so a bare name runs the modifier the compiled contract dispatches and a qualified one the declaration. Claude-Session: https://claude.ai/code/session_01U1vBrn8EeERepkVEG6CX46
hedgar2017
force-pushed
the
az-slang-inheritance
branch
from
September 9, 2026 08:17
0e4889d to
43cd122
Compare
hedgar2017
force-pushed
the
az-slang-modifiers
branch
from
September 9, 2026 08:17
9c10e30 to
7697cac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lowers modifiers in the Slang frontend: modifier definitions, invocation regions evaluating their arguments, the placeholder, and Slang's answer for which modifier an entry runs when the compiled contract dispatches it.
cargo run-tester-slang: 18385 -> 18434 passed.https://claude.ai/code/session_01U1vBrn8EeERepkVEG6CX46