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

IntelliJ crashes after writing a certain parser rule with EOF. #399

Closed
peterhenryd opened this issue Jun 7, 2020 · 3 comments
Closed

IntelliJ crashes after writing a certain parser rule with EOF. #399

peterhenryd opened this issue Jun 7, 2020 · 3 comments

Comments

@peterhenryd
Copy link

peterhenryd commented Jun 7, 2020

NOTE: The steps below may crash IntelliJ.

Steps to recreate:

  • Use version 2020.1.2 EAP, it may or may not occur on other versions. Using Pop!_OS Linux.
  • Use the sample grammar below.
grammar Test;

sourceTest: thing* EOF;

thing: '\r' | '\n' | EOF;
  • Select the rule set sourceTest in the ANTLR preview.

IntelliJ will stop responding. I've personally tested this 5 times with the same result each time; if I'm missing any relevant variables, please let me now.

@peterhenryd
Copy link
Author

peterhenryd commented Jun 7, 2020

I see there is already an issue with seemingly the same problem.

#393

EDIT:

Though it does seem odd that the issue still occurs even though it reportedly has been fixed. Perhaps it's the EAP update?

@peterhenryd
Copy link
Author

It's unclear to me whether the fix has been implemented yet. I'm going to assume it has not been and close this.

@bjansen
Copy link
Collaborator

bjansen commented Jun 8, 2020

The problem has been fixed, but the fix has not been released yet. I'll schedule a release in the coming days.

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