From 17e82ee17608c6974e144ddf4f02f34be0fd3b2d Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Mon, 17 Jun 2019 13:28:08 +0100 Subject: [PATCH] Clarify that interfaces only support enum since 0.5.0 --- docs/contracts/interfaces.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/contracts/interfaces.rst b/docs/contracts/interfaces.rst index 43c8637ee..91e7d5947 100644 --- a/docs/contracts/interfaces.rst +++ b/docs/contracts/interfaces.rst @@ -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. \ No newline at end of file