Skip to content

IO::Pipe documentation doesn't mention required named parameter in .new #3663

Open
@moritz

Description

@moritz

Problem or new feature

$  raku -e 'my $p = IO::Pipe.new();'
Required named parameter 'on-close' not passed
  in block <unit> at -e line 1

however, the docs for IO::Pipe do not even mention this parameter, much less that it is required.

Suggestions

Document IO::Pipe.new (currently only the inherited new method from its parent class IO::Handle is shown).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugError of some kind, from a typo to errors in the examples.docsDocumentation issue (primary issue type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions