Thus with the current parser it'd be necessary to write
(object(SomeType)) my_object;
But the _cast lfun ought to be extended to get called here too.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-05-06 18:38: Subject: Re: Implicit class construction, _cast() and `=()
int is a reserved word while SomeType is not. Note that it is not certain that SomeType is yet defined when we get "(SomeType)", so we can't assume that it is a cast.
mixed foo() { return (SomeType)"world"; }
constant SomeType = "Hello ";
/ Martin Nilsson (lambda)