Skip to content

Unable to create constructor for a derived generic class #871

@ssl024

Description

@ssl024

I am trying to extend LLIterator found in LinkedList.wurst and it does not seem to accept what looks like a well-formed constructor.

package ListIterator

import LinkedList

public class ListIterator<T> extends LLIterator<T>
    construct(LinkedList<T> parent)
        super(parent)

Error: Incorrect call to super constructor: Expected LinkedList<T> as parameter 1 but found LinkedList<T> Wurst

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions