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

[display] wrong @position of a loop variable of an int iterator #5172

Closed
nadako opened this issue Apr 26, 2016 · 0 comments
Closed

[display] wrong @position of a loop variable of an int iterator #5172

nadako opened this issue Apr 26, 2016 · 0 comments
Labels
bug feature-ide IDE / Editor support

Comments

@nadako
Copy link
Member

nadako commented Apr 26, 2016

class Main {
    static function main() {
        for (i in 0...10) {
            i;
        }
    }
}

haxe --display Main.hx@82@position

<list>
<pos>d:\code\playground\src\main.hx:3: characters 18-24</pos>
</list>

This points to 0...10, not i.

Also, probably this is the reason why @type doesn't work on the i in for (i:

haxe --display Main.hx@55@type

Error: No completion point was found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature-ide IDE / Editor support
Projects
None yet
Development

No branches or pull requests

1 participant