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

macro substitution in init() #78

Open
ethers opened this issue Apr 30, 2015 · 0 comments
Open

macro substitution in init() #78

ethers opened this issue Apr 30, 2015 · 0 comments

Comments

@ethers
Copy link
Member

ethers commented Apr 30, 2015

Serpent develop 2b11341, pyethereum develop b7a551c

def init():
    # log(1)
    m_foo()
    # log(5)

macro m_foo():
    log(33333)

def bar():
    return(9)

EXPECTED: 3333 is logged
OBSERVED: nothing is logged. if either line is uncommented in init(), then 3333 is also logged

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

No branches or pull requests

1 participant