mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clarify that interfaces only support enum since 0.5.0
This commit is contained in:
parent
d7211c17e9
commit
17e82ee176
@ -34,3 +34,8 @@ Contracts can inherit interfaces as they would inherit other contracts.
|
||||
|
||||
Types defined inside interfaces and other contract-like structures
|
||||
can be accessed from other contracts: ``Token.TokenType`` or ``Token.Coin``.
|
||||
|
||||
.. warning:
|
||||
|
||||
Interfaces have supported ``enum`` types since :doc:`Solidity version 0.5.0 <050-breaking-changes>`, make
|
||||
sure the pragma version specifies this version as a minimum.
|
Loading…
Reference in New Issue
Block a user