Fix ABI internal compiler error caused by an internal constructor

This commit is contained in:
a3d4
2020-05-07 05:49:49 +02:00
parent 5e46ef7df5
commit 5e9502bfae
3 changed files with 13 additions and 2 deletions
@@ -0,0 +1,9 @@
// bug #8712
contract B {
uint immutable x;
constructor(function() internal returns(uint) fp) internal {
x = fp(); }
}
// ----
// :B
// []