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

circular macro check fail #8033

Open
LCLight opened this issue Jan 22, 2024 · 0 comments
Open

circular macro check fail #8033

LCLight opened this issue Jan 22, 2024 · 0 comments
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@LCLight
Copy link

LCLight commented Jan 22, 2024

Describe the bug
Compilation blocked because of "circular macro"
循环引用宏导致编译阻塞

Additional context

 -module(t).
 -define(AA, {flag, ?AA}).   %% 宏循环引用, circular macro
 -include_lib("kernel/include/file.hrl").   %% 只要是include其它文件(空内容也可以),触发 epp:enter_file2/5 即可
 -export([ t/0 ]).
 t() -> ?AA.

erlc t.erl
^C %% block,use ctrl + c

epp.erl
enterfile
leavefile

@LCLight LCLight added the bug Issue is reported as a bug label Jan 22, 2024
@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

3 participants