HaxeFoundation / haxe.org-comments

Repository to collect comments of our haxe.org websites
2 stars 2 forks source link

[haxe.org/manual] Tracing Types #134

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Tracing Types - Haxe - The Cross-platform Toolkit

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.

https://haxe.org/manual/debugging-type-function.html

subtra3t commented 1 year ago

If you're using try.haxe.org, you'll need to check the compiler output (the tab is above the output) as the type is released as a compiler warning, not as output. Simply tracing the value of $type(x) will only trace the value of x, not the type.