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

Ambiguous code #1527

Open
rodinaarssen opened this issue Sep 6, 2021 · 1 comment
Open

Ambiguous code #1527

rodinaarssen opened this issue Sep 6, 2021 · 1 comment

Comments

@rodinaarssen
Copy link
Member

Describe the bug
Using the lexical defined below leaks an internal error.

lexical Foo = ^![a]*;

Stack traces

rascal>(Foo)`b`
Reloading module A
** Something went wrong while reloading module A:
|console:///|:Could not load A due to: Ambiguous code (internal error), ^![a]* at |console:///|
*** Note: after fixing the error, you will have to manually reimport the modules that you already imported.
*** if the error persists, start a new console session.
Could not reimportA at |console:///|
|prompt:///|(0,8,<1,0>,<1,8>): Syntax error: concrete syntax fragment
Advice: |http://tutor.rascal-mpl.org/Errors/Static/SyntaxError/SyntaxError.html|
ok

Desktop (please complete the following information):

  • Context: Eclipse (unstable) and console (0.19.4-RC9)
@jurgenvinju
Copy link
Member

Related to pull request #1201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants