Hi, I have seen the following pattern in some library code: a type with an inner constructor which returns a value which is not of that type. A contrived example is
type Foo
Foo() = :something_else
end
Apparently this is OK (in 0.4.5 at least where I tried). Is this an
oversight? Or if this has an application, could someone please share an
example? (It made little sense in the context I saw it).
Best,
Tamas
