Disallow `using for` directive for interfaces.

This commit is contained in:
Harikrishnan Mulackal
2020-08-27 15:57:51 +02:00
parent e5b9a33998
commit c7dc42a794
4 changed files with 22 additions and 0 deletions
@@ -0,0 +1,10 @@
library L {
function f() public {}
}
interface I {
using L for int;
function g() external;
}
// ----
// TypeError 9088: (60-76): The "using for" directive is not allowed inside interfaces.