Skip to content

Commit

Permalink
Test email again
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Wyndham committed Sep 23, 2019
1 parent aa7c1f7 commit e918e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,8 @@ export abstract class TypeNode extends Node {
}
return false;
}


/** Method for determine type equality. */
abstract equals(node: TypeNode): bool;

static arrayEquals(node: Comparable[] | null, other: Comparable[] | null): bool {
Expand Down Expand Up @@ -1143,7 +1144,6 @@ export class NamedTypeNode extends TypeNode {
name: TypeName;
/** Type argument references. */
typeArguments: TypeNode[] | null;

equals(node: NamedTypeNode): bool {
if (!this.name.equals(node.name)) return false;
return TypeNode.arrayEquals(this.typeArguments, node.typeArguments);
Expand Down

0 comments on commit e918e48

Please sign in to comment.