mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Some changes to "abstract".
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
interface B { }
|
||||
abstract interface A { }
|
||||
// ----
|
||||
// TypeError: (0-24): Only contracts can be abstract.
|
||||
// TypeError: (16-40): Interfaces do not need the "abstract" keyword, they are abstract implicitly.
|
||||
|
||||
Reference in New Issue
Block a user