winxed icon indicating copy to clipboard operation
winxed copied to clipboard

Multi syntax doesn't match other class syntax

Open Benabik opened this issue 13 years ago • 0 comments

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.

Benabik avatar Apr 22 '12 19:04 Benabik