$here haxe.PosInfos

Hej all,

If I remember well, in the past there was a “magic” $here like $type, that just wrote the position where used. Is there a way to have something like that or we must to deal with the last function arg ?pos : haxe.PosInfo or anything else please ?


here has been removed 9 years ago without being replaced (except by ?pos:haxe.PosInfo “magic” argument) afaik.

You can create a similar tool in user code, for example with something like this: Try Haxe !


Thanks Rudy for your answer :wink: