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

macro内部set显示值还是全局的 #32

Open
wuchang1123 opened this issue Nov 13, 2015 · 0 comments
Open

macro内部set显示值还是全局的 #32

wuchang1123 opened this issue Nov 13, 2015 · 0 comments

Comments

@wuchang1123
Copy link

set($a = 1)

macro(d $a)

$a
#set($a =3)
$a

end

d($a)

$a

输出:
113
期待:
133

@wuchang1123 wuchang1123 changed the title 对象不支持putAll macro内部set显示值还是全局的 Nov 16, 2015
@wuchang1123 wuchang1123 reopened this Nov 16, 2015
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

1 participant