Skip to content

Field completion with pipe not working #503

@mbndr

Description

@mbndr

Hey,
I wanted to use the field completion compiler service (https://haxe.org/manual/cr-completion-field-access.html) and just copied the example with use of pipe.
My code:

class Main {
  public static function main() {
    trace("Hello".|
  }
}

Command: haxe --display Main.hx@0

That should print the correct output (see link above), but instead I get:

class
<il>
<i k="keyword">package</i><i k="keyword">import</i><i k="keyword">using</i><i k="keyword">private</i><i k="keyword">extern</i><i k="keyword">class</i><i k="keyword">interface</i><i k="keyword">enum</i><i k="keyword">abstract</i><i k="keyword">typedef</i><i k="keyword">final</i></il>

When I call haxe --display Main.hx@65 I get desired output, so I guess only something went wrong with the pipe?
Or am I missing something?

I'm using Haxe 4.2.4
Also checked with the latest build (20220217191237_46096c3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions