Skip to content

Multi syntax doesn't match other class syntax #20

Description

@Benabik

Using classes in multi syntax doesn't match the way the new keyword works.

  • multi(class ['Foo', 'Bar']) searches for Foo.Bar in scopes. new ['Foo', 'Bar'] doesn't.
  • multi(class 'Foo') isn't supported at all.

I've managed to work around both with predeclaring, but the difference in the syntaxes is surprising. And having to predeclare the built-in types (ResizablePMCArray, Capture, etc) is non-intuitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions