Hi
I would have hoped by now that it should be possible to do :
class BaseObject<rootType : AnyObject>
{
}
class Test : BaseObject<Test>
{
}
All compiles well but, at runtime, when calling let test = Test(), I get a
"EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)" error.
This is something I have been able to do in C# for many a year. Why oh why can
I still not do it in Swift ?
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users