Interface

- Added new ctor
feature/structural_typing
Tristan B. V. Kildaire 5 months ago
parent b5e57e66e6
commit e9cdc3563c

@ -489,9 +489,12 @@ public final class Interface : Type, Container
private Statement[] statements;
// TODO: Implement me
this()
this(string name)
{
super(name);
/* Weighted as 0 */
weight = 0;
}
public void addStatement(Statement statement)

Loading…
Cancel
Save