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

Unexpected idetools behaviour #325

Closed
gradha opened this issue Feb 3, 2013 · 1 comment
Closed

Unexpected idetools behaviour #325

gradha opened this issue Feb 3, 2013 · 1 comment
Labels

Comments

@gradha
Copy link
Contributor

gradha commented Feb 3, 2013

Using the idetools.nim file from https://gist.github.com/4702621 as an example, running the idetools command on the line 11, column 38 (cursor placed on the s of the str_val word) returns the the in template from lib/system.nim which is not present on that line:

def skTemplate  system.in   proc (expr, expr): expr /Users/gradha/project/nimrod/root/lib/system.nim    702 10  ""

Other columns give unexpected values too. For instance, column 32 of that line will point to the str_val definition of line 7 instead of pointing to the $ proc from the system module. From the whole str_val word, the first s points to the in template, but the rest returns nothing. The surrounding ampersands point correctly to system's & proc.

The expected behaviour for the str_val word (columns 38-44) would be to jump to line 7.

@Araq
Copy link
Member

Araq commented Jan 28, 2015

This bug even exists in the new nimsuggest. Very strange bug. Ah no, it's easy to see why it produces this weird result.

@Araq Araq closed this as completed in a4b2762 Jan 28, 2015
Clyybber pushed a commit to Clyybber/Nim that referenced this issue Jun 6, 2022
325: vm: remove stale `info` parameter from `genType` r=zerbina a=zerbina



Co-authored-by: zerbina <100542850+zerbina@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants