When I try to run “haxe --display” command with “.|” in the code on anything I always seem to get the same output.
Actual output (marked with yellow):
Expected output:
<list>
<i n="length">
<t>Int</t>
<d>
The number of characters in `this` String.
</d>
</i>
<i n="charAt">
<t>index : Int -> String</t>
<d>
Returns the character at position `index` of `this` String.
If `index` is negative or exceeds `this.length`, the empty String
"" is returned.
</d>
</i>
<i n="charCodeAt">
<t>index : Int -> Null<Int></t>
<d>
Returns the character code at position `index` of `this` String.
If `index` is negative or exceeds `this.length`, null is returned.
To obtain the character code of a single character, "x".code can
be used instead to inline the character code at compile time.
Note that this only works on String literals of length 1.
</d>
</i>
</list>