argotorg / argotorg/solidity

[Sol->Yul] assembly access to libraries unimplemented

Open
#11,024 4 comments 0 reactions 0 assignees View on GitHub
bug :bug: medium impact
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
21

Description

Example code:
syntaxTests/inlineAssembly/assignment_from_library.sol
```
library L {
}

contract C {
function f() public pure {
assembly {
let x := L
}
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start with syntaxTests/inlineAssembly/assignment_from_library.sol and trace the Sol->Yul handling for the library reference shown there. Determine the expected behavior for assembly access to libraries, then add the implementation and verify that the syntax test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, solidity
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.