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

REPL: Segmentation fault during assignment #37

Open
alexdovzhanyn opened this issue Sep 30, 2024 · 2 comments
Open

REPL: Segmentation fault during assignment #37

alexdovzhanyn opened this issue Sep 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest A good issue to work on for Hacktoberfest help wanted Extra attention is needed

Comments

@alexdovzhanyn
Copy link
Collaborator

When using the Theta REPL, if you try to do any kind of assignment, even something as simple as x<Number> = 1, it will fail with a segmentation fault.

It seems that if you wrap the assignment in a capsule, that issue doesn't occur.

capsule Test { x<Number> = 1 }

The above code parses exactly as expected. The issue seems to stem somehow from how free-floating expressions are parsed within the REPL.

@alexdovzhanyn alexdovzhanyn added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest A good issue to work on for Hacktoberfest labels Sep 30, 2024
@PranavKeshav24
Copy link

Please assign this issue to me. I would be very happy to work on it.

@alexdovzhanyn
Copy link
Collaborator Author

@PranavKeshav24 go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest A good issue to work on for Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants