Disallow external function pointers as immutables.

This commit is contained in:
Daniel Kirchner
2020-04-03 11:56:51 +02:00
parent 00acaadd10
commit d68c526eaa
4 changed files with 13 additions and 32 deletions
@@ -0,0 +1,5 @@
contract C {
function() external immutable f;
}
// ----
// TypeError: (17-48): Immutable variables of external function type are not yet supported.