Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Quickfix errors regarding the mutability modifier 'constant' #286

Open
Mazesch opened this issue Aug 1, 2019 · 0 comments
Open

Quickfix errors regarding the mutability modifier 'constant' #286

Mazesch opened this issue Aug 1, 2019 · 0 comments
Assignees
Labels

Comments

@Mazesch
Copy link
Contributor

Mazesch commented Aug 1, 2019

The quickfix option 'Use 'pure' instead.'
should change the keyword to 'pure'
instead of 'view'.

The quickfix option 'Use 'view' instead.'
does nothing.

pragma solidity ^0.5.4;

contract Contract {
    function f() public constant returns (uint) {
        return 0;
    }
}
@Mazesch Mazesch changed the title Quickfix error regarding the mutability modifier 'constant' Quickfix errors regarding the mutability modifier 'constant' Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants