-
Notifications
You must be signed in to change notification settings - Fork 186
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
"no calls to rice.FindBox() found" when using const for directory #18
Comments
Indeed. This is because right now the rice tool uses a regular expression over the code to locate calls to |
I'll keep this issue open until the problem is resolved. |
I went a bit crazy over this one because I always wanted to try out It finds Call Expressions to How do you feel about this? I'd like to get more usage tests and I'm not sure if the name of the bux is enough. If you like it, it would be great if you could point me to where the rice tool does it's magic and I'd clean this up and prepare a first PR. ps: Here is a copy of the playground as a gist, just in case. |
Oh, i forgot to give the proper credits: I took some inspiration from golint's code (mainly the walker construction because I thought i need to call |
Hi cryptix, Do you still have plans to work this out for rice? I'd be very interested if consts would work. |
I'm thinking of dropping source analysis in rice 2.0 Please see #47 |
I dont think this can be fixed in this version of rice. |
wow.. How time flies sometimes is incredible. Feel free to close, my purposeful was more of a proof of concept anyway. |
Yes, very fast. Take a look at #47 if you like, maybe you have some good idea's for it :) |
Hi,
when using
const
for directories to embed, like this:This happens:
While this works as expected:
The text was updated successfully, but these errors were encountered: