18 Dec
2010
18 Dec
'10
5:34 p.m.
Am 18.12.2010 12:23, schrieb Eike Welk:
Instance Creation -----------------
foo = {| a=1, b=2 |}:Foo
This should be equivalent to:
foo = Foo(a=1, b=2)
In the usual case, it should not be necessary to specify the class name:
foo = {| a=1, b=2 |}
The run-time should search for a class with a matching "__init__" method.
I'm beginning to suspect this is an elaborate trolling attempt...