haxetink / tink_json

Macro powered JSON.
The Unlicense
34 stars 9 forks source link

infinite loop with haxe4 preview 5 ? #49

Closed bablukid closed 5 years ago

bablukid commented 6 years ago

when compiling a project , haxe compiler is stuck in an infinite loop.

If I call "haxe -v cagette.hxml" , I get a neverending log like this :

Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType Calling macro tink.macro.Types.resolveDirectType (C:\HaxeToolkit\haxe\std/haxe/macro/Expr.hx:555) Exiting macro tink.macro.Types.resolveDirectType

back2dos commented 6 years ago

It may well be possible, but a reproducible example would go a long way towards fixing it ;)

back2dos commented 5 years ago

Hmm, chances are this got solved in tink_macro. If not, please open a new ticket with code to reproduce the issue ;)