huff-stack-comments icon indicating copy to clipboard operation
huff-stack-comments copied to clipboard

External function are not interpreted

Open Yashiru opened this issue 3 years ago • 0 comments

The imported function from other files are not interpreted, so external function doesn't affect the stack and are not reflected in the comments.

e.g.

#include "./Ownable.huff"

#define macro CONSTRUCTOR_ERC20() = takes(0) returns (0) {
    // Set msg.sender as the owner of the contract.
    OWNABLE_CONSTRUCTOR() // <= ❌ This macro from Ownable.huff is not interpreted ❌
}

Yashiru avatar Mar 28 '23 20:03 Yashiru