This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
keyword "interface" not accepted (compile fails) #560
Comments
Having the same problem with solc 0.4.15 also... fresh install this friday. |
Same issue. Environment:
|
Same problem.
|
We must wait for update solidity-parser package that implement interface support OR You can swap to beta version of truffle. |
cchrs
referenced
this issue
in aletheia-foundation/aletheia-app
Oct 12, 2017
There are still tests to add, which should take about a week. I'm submitting this for comment, as there is still much work to be done. For example, the reputation isn't apportioned out upon Manuscript submission. I'll fix this in the coming week(s).
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This has already been asked in the Gitter channel by others, but not answered (as far as I could see).
Issue
Compiling files containing interface definitions fails with
Steps to Reproduce
Create a solidity file containing an interface definition, e.g.
and try to have it compiled with
truffle compile
.Expected Behavior
Since the interface keyword is supported since Solidity 0.4.11 (seeChangelog), truffle - which is using solc 0.4.15 - should recognize it.
In Remix IDE, the behaviour is as expected. If the compiler version is at least 0.4.11, files with interface definitions compile.
Actual Results
Environment
The text was updated successfully, but these errors were encountered: