Following the documentation I try to add a enum to my interface. Inside the interface I have a method called get that returns one of the enum value. Im trying to add the enum to the interface, because in the get function one of the return value is one value of the enum. I follow this example.
https://solidity.readthedocs.io/en/v0.5.1/contracts.html#interfaces
Error:
TypeError: Enumerable cannot be declared in interfaces
Is wrong the docu??
enumonly within the scope of the contract where it is declared). – goodvibration Feb 13 '19 at 09:56