solidity-language-server 0.1.35

A fast Solidity language server powered by solc and Foundry
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

// Error 9125: override already specified on a state variable.
// Fix: remove the second `override`.

abstract contract Base {
    function value() external virtual returns (uint256);
}

contract DuplicateOverrideStateVar is Base {
    uint256 public override override value = 1;
}