Skip to content

Function templates not recognized #23

@gpersoon

Description

@gpersoon

I was testing some code with a function template (e.g. function "One"). All other functions (e.g. function "Two") didn't give any results in the editor.
See here for a code example:

pragma solidity ^0.5.0;
contract Test {  
    function One() public view ;
    function Two() public view returns(uint) {
      	return 2;
    }
}

In output.json the situation can be recognized via:

 "assembly": {
      "assembly": null,
      "opcodes": ""
    },

I guess a warning should be given is no code is generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions