Merge pull request #10006 from ethereum/bug-9229-fix

Fixes internal compiler error with an unused reference to module member.
This commit is contained in:
chriseth
2020-10-12 13:43:35 +02:00
committed by GitHub
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,15 @@
==== Source: s1.sol ====
import "s1.sol" as A;
library L {
function f() internal pure {}
}
contract C
{
function test() public pure {
A.L;
}
}
// ----
// Warning 6133: (s1.sol:127-130): Statement has no effect.