HaxeCheckstyle / haxeparser

A Haxe parser for Haxe
61 stars 23 forks source link

Field peek has no expression #18

Closed Atry closed 10 years ago

Atry commented 10 years ago
class HaxeParserTest 
{

  public static function main()
  {
    var parser = new haxeparser.HaxeParser(null, "");
    parser.expr();
  }

}
$ haxelib git hxparse https://github.com/Simn/hxparse development src           
Installing hxparse from https://github.com/Simn/hxparse
Cloning into 'D:\HaxeToolkit\haxe\lib/hxparse/git'...
remote: Reusing existing pack: 1072, done.
remote: Total 1072 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1072/1072), 270.43 KiB | 169 KiB/s, done.
Resolving deltas: 100% (642/642), done.
Library hxparse set to use git.
  Branch/Tag/Rev: development
  Path: D:\HaxeToolkit\haxe\lib/hxparse/git/src
$ haxelib git haxeparser https://github.com/Simn/haxeparser master src          
Installing haxeparser from https://github.com/Simn/haxeparser
Cloning into 'D:\HaxeToolkit\haxe\lib/haxeparser/git'...
remote: Reusing existing pack: 316, done.
remote: Total 316 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (316/316), 61.30 KiB | 71 KiB/s, done.
Resolving deltas: 100% (154/154), done.
Library haxeparser set to use git.
  Branch/Tag/Rev: master
  Path: D:\HaxeToolkit\haxe\lib/haxeparser/git/src
$ haxe -main HaxeParserTest  -lib haxeparser -lib hxparse
D:\HaxeToolkit\haxe\lib/hxparse/git/src/hxparse/Parser.hx:33: lines 33-45 : Field peek has no expression (possible typing order issue)
Simn commented 10 years ago

This is a Haxe issue.