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

Illegal tokens and QuasiQuotes #894

Closed
ivan-m opened this issue Sep 24, 2015 · 4 comments · Fixed by #909
Closed

Illegal tokens and QuasiQuotes #894

ivan-m opened this issue Sep 24, 2015 · 4 comments · Fixed by #909

Comments

@ivan-m
Copy link
Contributor

ivan-m commented Sep 24, 2015

It seems that haskell-indentation also searches QuasiQuotes for keywords:

{-# LANGUAGE QuasiQuotes #-}

test = [randomQQ| This is a quasiquote with the word in |]

Hitting Enter at the end of the line gives Illegal token: in.

(It seems that GitHub's highlighter also doesn't understand QuasiQuotes :p)

@mgsloan
Copy link

mgsloan commented Sep 24, 2015

I've run into this too. IMHO such exceptions shouldn't cause enter to fail - there should be a fallback behavior. It's very frustrating when bugs prevent me from typing something (sure, I've got workarounds like C-j, but still!).

@gracjan
Copy link
Contributor

gracjan commented Sep 24, 2015 via email

@ivan-m
Copy link
Contributor Author

ivan-m commented Sep 24, 2015

I'll try to do so tomorrow when I'm back at work (as that's where I've got the actual code that this has a problem with).

@vagifverdi
Copy link

Looks like it is fixed. I just git pull today and now enter after quasiquotes works fine.

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

Successfully merging a pull request may close this issue.

4 participants