diff --git a/src/base-type.typ b/src/base-type.typ index 5a10270..7eea03b 100644 --- a/src/base-type.typ +++ b/src/base-type.typ @@ -43,7 +43,7 @@ it, scope: scope, ctx: ctx, - message: "Expected " + types.join( + message: "Expected " + self.types.map(repr).join( ", ", last: " or ", ) + ". Got " + type(it), @@ -113,4 +113,4 @@ assert(ctx.soft-error, message: display) }, ) -} \ No newline at end of file +}