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

[BUG]扫描Java代码时候出现死循环情况 #5

Open
cyw3 opened this issue Dec 25, 2020 · 1 comment
Open

[BUG]扫描Java代码时候出现死循环情况 #5

cyw3 opened this issue Dec 25, 2020 · 1 comment

Comments

@cyw3
Copy link

cyw3 commented Dec 25, 2020

Demo:

package test;

public class Test{
    private void test(int id) {
        tA t = new tA();
    }
}

使用上面Demo代码进行扫描时候,发现会在下面位置所在函数陷入死循环:
https://github.com/charj-lang/scie/blob/e5ca8e42d4262c3d48bebf260b53b3e25fd0c76e/scie-grammar/src/grammar/grammar.rs#L280

这里应该tA这个命名导致的,若修改为A就不会陷入死循环。

@phodal
Copy link
Member

phodal commented Dec 26, 2020

2333,谢谢了哈~,有空我看看怎么搞

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

2 participants