Skip to content

Fix when constructor w/ params is defined, and one w/o params is not defined #85

Open
@BSteffaniak

Description

@BSteffaniak

Fix problem where compiler accepts calling super constructor with no params instead of telling you that you need to supply the argument for the class.

e.g.

public class ArrayIterator<E> implements Iterator<E, Int>
{
    public construct(Array<E> array)
    {
        this.array = array
    }
}

needs to throw an error when new ArrayIterator() is called.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions