Skip to content

Conversation

@wadealexc
Copy link
Collaborator

No description provided.

Copy link
Member

@jalextowle jalextowle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the addition of the test! Can't wait to see this one get merged.

@@ -0,0 +1,9 @@
git status /git diff - shows any changes made to local files relative to repo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to be removed before this PR can be merged.

pragma solidity ^0.4.25;

interface IACLOracle {
function canPerform(address who, address where, bytes32 what, uint256[] how) external view returns (bool);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's space out the parameters like so:

interface IACLOracle {
    function canPerform(
        address who,
        address where,
        bytes32 what,
        uint256[] how
    )
        external
        view returns (bool);
}

This way, our Solidity code will follow the 0x style guide. (which will hopefully be defined by our style rules one day!).


impl ParseNode {
// Add a token to this node's children
fn add_child(&mut self, token: lex_4_25::Token) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To recap on our conversation the other day, I don't think these changes should be included because it muddles the "path of blame" for these lines. Since you didn't actually touch the code, you shouldn't be on the "path of blame".

This comment applies to all such changes. I may reevaluate this in the future, but I think this restriction makes sense for now.

}
*/
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add the test before this closing brace. This will make your tests not compile.

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

Successfully merging this pull request may close these issues.

4 participants