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

Using ___ for ___ not parsed properly #6

Closed
maurelian opened this issue May 23, 2018 · 2 comments
Closed

Using ___ for ___ not parsed properly #6

maurelian opened this issue May 23, 2018 · 2 comments

Comments

@maurelian
Copy link
Contributor

maurelian commented May 23, 2018

The method call syntax incorrectly interprets the value being operated on as an external contract.

contract Example
{
    using SafeMath for uint256;

    // The total supply of tokens
    uint256 private totSupply; /* There is a separate getter below. No idea why people do that.  */

    function foo() {
        totSupply = totSupply.add(amount);
    }
}

Surya graph output:

misattrib

@GNSPS
Copy link
Collaborator

GNSPS commented May 28, 2018

This is a known shortcoming. Gonna add to a TODO list on the front page.

@anurag-git
Copy link

@GNSPS , this issue can be closed based on PR #41

@GNSPS GNSPS closed this as completed Oct 3, 2018
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

3 participants