Stanislav Blinov <stanislav.bli...@gmail.com> wrote:

On 12/26/2010 05:47 PM, spir wrote:
Hello,

If I have
        class Node (Element) {...}
can I subtype it like with
        class Leaf (Element) : Node (Element) {...}
or such?

Denis

Absolutely:

class Leaf(Element) : Node!Element {...}

You're right. I did not notice the lack of an exclamation mark.

--
Simen

Reply via email to