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

Quickfix errors regarding the mutability modifier 'constant' #286

@Mazesch

Description

@Mazesch

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;
    }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions