using_interface.sol 191 B

12345678
  1. function double(int x) pure returns (int) { return x * 2; }
  2. interface C {
  3. using {double} for int;
  4. }
  5. // ---- Expect: diagnostics ----
  6. // error: 4:2-24: using for not permitted in interface