SomeRanDev / reflaxe.CPP

An alternative C++ target for Haxe that generates dependent-less, GC-less C++17 code.
MIT License
72 stars 5 forks source link

Compile Error: Log.hx:39 #7

Closed onehundredfeet closed 1 year ago

onehundredfeet commented 1 year ago

Hi,

the Stdlib seems to cause a compile error:

/opt/homebrew/share/haxe/std/haxe/Log.hx:39: lines 39-40 : Dynamic not supported. Consider using Any or generics instead?
onehundredfeet commented 1 year ago

It's my trace. Am I doing something wrong?

        var v : Float2 = Float2.zero();
        var x :Float = v.x;
        var y :Float = v.y;
        trace('WHooo hooo! ${x} ${y}');
SomeRanDev commented 1 year ago

That should work... hmmmm... I'll see if I can replicate the error and fix; I'll get back to you in a bit. Apologies for the inconvenience!

onehundredfeet commented 1 year ago

Never mind. It was the fact that I was using the raw repo and not the nightly. Ignore this one.

SomeRanDev commented 1 year ago

You're all good! Please don't hesitate if you find anything else! 😁