Skip to content

Named arguments are not properly substituted #7

@ian-zunderdorp

Description

@ian-zunderdorp

Given a class:

class Foo {
  public static function foo(string $a, string $b, string $c): self
  { ... }
}

When calling this in the original code:

Foo::foo(a: 'hello', b: 'world', c: '!');

It is transpiled to:

Foo::foo(a: 'hello', b: 'world', c: '!');

This also happens with non-static methods
The rest of the transpilation seems to work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions