diff --git a/src/nodes/Spread.ts b/src/nodes/Spread.ts index 7fc537e87..1c44a9a5e 100644 --- a/src/nodes/Spread.ts +++ b/src/nodes/Spread.ts @@ -72,7 +72,7 @@ export default class Spread extends Node { if (!(type instanceof ListType)) return [ new IncompatibleType( - this, + this.list, ListType.make(), this.list, type