-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error: template instance Char!('0') Char is not a template declaration, it is a class #4
Comments
Ah, turns out it should be |
Hm, this does seem like a bug, actually. The following fails too:
|
It's a hijacking problem between the grammar-generated Char parser and the built-in Char. I think DMD is not very helpful with this. Since the built-in Char is not used anymore (I changed the grammar to use Lit!("a") for 'a', I'll drop it. |
Both examples seem to work now. I'm closing this. |
Have you pushed the changes that fix this? (Which commit?) |
On Sat, Mar 17, 2012 at 08:29, Alex Rønne Petersen I don't know exactly. I was away several days and coming back I tried |
Code:
Am I doing it wrong or is this a bug?
The text was updated successfully, but these errors were encountered: