Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mist 0.9.2 Compile issue re-occurrence of - This declaration shadows an existing declaration #3084

Closed
acgoldfish opened this issue Oct 16, 2017 · 1 comment

Comments

@acgoldfish
Copy link

Mist 0.9.2 Compile issue re-occurrence of - This declaration shadows an existing declaration

System information
Mist Version : 0.9.2
Geth version: geth version 1.7.2
OS & Version: Windows 10

Expected behaviour

Deploy the crowdsale contract in the Ethereum wallet. EC20 ICO Crowdsale The code is pragma solidity ^0.4.16.

Actual behaviour

It won't. It says: Could not compile source code. And then the error stated below this text.

Backtrace

Could not compile source code.

This declaration shadows an existing declaration.
event NewLockedTok(address lockedTokens);
^------------------^

@axic
Copy link
Member

axic commented Oct 16, 2017

This is actually tracked in ethereum/mist#2797. The above is a warning not an error.

Until that issue is solved, you can opt to rename your event not to conflict with another declaration (as the message says).

@axic axic closed this as completed Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants