public_internal_function.sol 195 B

12345678910
  1. contract foo {
  2. struct A {
  3. function() internal a;
  4. }
  5. A[] public map;
  6. }
  7. // ---- Expect: diagnostics ----
  8. // error: 6:5-8: variable of type internal function cannot be 'public'