IR codegen does not implement access to library address by contract name #15669
Labels
bug 🐛
low effort
There is not much implementation work to be done. The task is very easy or tiny.
low impact
Changes are not very noticeable or potential benefits are limited.
must have eventually
Something we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.
should compile without error
Error is reported even though it shouldn't. Source is fine.
Discovered in #15661 (comment)
Description
A reference to a library name in inline assembly triggers an unimplemented feature error. At this point the IR codegen is considered feature-complete so this not being implemented yet is a bug.
Moreover the error does not provide any message for the user.
While we do have this case covered by a syntax test (
assignment_from_library.sol
), it went undiscovered until now because we don't run syntax tests via IR. When the bug is fixed, please remember to enable this test on EOF.Environment
develop
)Steps to Reproduce
test.sol
:The text was updated successfully, but these errors were encountered: