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

Bad USE statement crashes parser #728

Closed
klausler opened this issue Sep 10, 2019 · 0 comments
Closed

Bad USE statement crashes parser #728

klausler opened this issue Sep 10, 2019 · 0 comments
Assignees

Comments

@klausler
Copy link
Collaborator

module m
   interface
     function foo()
     end function
   end interface
end module
function foo()
  use :: m, except => function foo
end function

Note the erroneous use of the keyword function in the renaming clause.

Produces fatal internal error: CHECK(state.anyDeferredMessages() || state.messages().AnyFatalError()) failed at /home/pklausler/f18proto/git/f18b/lib/parser/basic-parsers.h(381).

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

1 participant