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

Statix analysis of specific contructor causes editor to hang #76

Closed
RvanBaarle opened this issue Oct 5, 2021 · 1 comment
Closed

Statix analysis of specific contructor causes editor to hang #76

RvanBaarle opened this issue Oct 5, 2021 · 1 comment
Labels
C-Bug Category: bug. Not working as expected

Comments

@RvanBaarle
Copy link
Contributor

Summary

In this project, if a variable used in a test or cpy file, then the editor hangs on updating.

What you did

In the above project define a test such as the following:

test variable [[
abcdef
]] analysis succeeds

What you expected to happen

An error appears at analysis succeeds, since the variable is undefined

What actually happened

The SPT update job hangs indefinitely.

Context

  • Spoofax version: 0.13.0
  • Operating system & version: Unknown
  • Java version (if applicable): Unknown (most likely embedded jvm)
  • Eclipse version (if applicable): 2021-09
  • Gradle version (if applicable):

Additional information

I haven't tried reproducing the bug myself (a student showed me the issue). If I find anything noteworthy, then I'll update the bug report.

@RvanBaarle RvanBaarle added the C-Bug Category: bug. Not working as expected label Oct 5, 2021
@RvanBaarle
Copy link
Contributor Author

The issue was caused by an infinite loop in the statix definition.

@Gohla Gohla added S-Waiting-On-Author Status: awaiting some action (such as code changes or more information) from the author and removed S-Waiting-On-Author Status: awaiting some action (such as code changes or more information) from the author labels Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug Category: bug. Not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants