False positive "is defined but never used" warning if event type in contract interface #491
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I found this behaviour in aesophia_cli, but probably it is related to the whole compiler.
Reproduction.aes
I'm using this kind of contract to generate ACI. The event type provided in ACI is used to decode events emitted by
emitEvents
. I doubt that the compiler should warn about this.@davidyuk Why do you think this is a bug?
The warning is shown because neither the datatype
event
nor the data constructorRemoteEvent(int)
are used.Closing this as it's the expected behavior and it's not a real bug.