jdonaldson/vaxe

Completion jumping to random file

Closed this issue · 3 comments

I'm having hard time reproducing it, but on several ocassions, completion has made vim jump to another file.

Will update this as soon as soon as I'm able to reproduce it, with logs/mess.

Yes, it happened again.

Here's :mess when it happened:
haxe -main ApplicationMain -lib nme -lib HaxePunk -cp src -cp /usr/lib/haxe/lib/nme/3,5,5/ -cp /usr/lib/haxe/lib/HaxePunk/2,1,1/ -D nme_install_tool -D web -swf-version 11 -swf9 bin/flash/bin/Main.swf -swf-he
ader 720:480:60:333333 -cp bin/flash/haxe --display /home/dsirijus/Projects/vizard-haxe/src/worlds/Level.hx@2156 2>&1
"src/worlds/LevelData.hx" 311L, 9979C
(1 of 5): characters 20-21 : Unexpected <
E839: Completion function changed window

It jumped from src/worlds/Level.hx (78, 5) to src/worlds/LevelData.hx (78, 5). So, from a point in file, to another file at the same position, if it's indicative of anything.

Also (I think) it jumps only into static classes when referenced. For instance, previous instance of it was happening when I completed on Global.|(some static var) and this time on LevelData.|(some static function).

I'm on #haxe available for debugging, of course. :)

I think this is patched now as well, per our conversation on IRC.

closing!