Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

External function are not interpreted #10

Open
Yashiru opened this issue Mar 28, 2023 · 0 comments
Open

External function are not interpreted #10

Yashiru opened this issue Mar 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Yashiru
Copy link
Owner

Yashiru commented Mar 28, 2023

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 Yashiru self-assigned this Mar 28, 2023
@Yashiru Yashiru added the bug Something isn't working label Mar 28, 2023
@Yashiru Yashiru changed the title External function are not compiled External function are not interpreted Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant