That is a strange error. It looks like there might be a corruption of the
Kha/Tools/haxe/std/haxe/io/Input.hx file. Could you compare the contents of that file with this one.
There shouldn’t be any
Eof at that point in the file, it is 330 lines long.
I’m able to successfully compile it with the latest SDK on my machine.