itemisCREATE / solidity-ide

Solidity plugin for Eclipse
Eclipse Public License 1.0
87 stars 25 forks source link

Duplicated quickfix for missing visibillity #282

Open Mazesch opened 4 years ago

Mazesch commented 4 years ago

The suggestion for the following code(which is missing a visibillity) is "Make this function 'external'" "Make this function 'external'"

although the visibillity should be 'public' or 'internal'; note that one of the quickfixes disappears after you remove Contract1

code example:

pragma solidity ^0.5.4;

contract Contract1 {
}

contract Contract2 {
    constructor ()  {}
}
jthoene commented 4 years ago

The duplication of the quickfix seems to be caused by the validator. The error also appears two times in the problems view. Would be good if @flantony also takes a look at this.