Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function templates not recognized #23

Open
gpersoon opened this issue Sep 19, 2019 · 0 comments
Open

Function templates not recognized #23

gpersoon opened this issue Sep 19, 2019 · 0 comments

Comments

@gpersoon
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant