Skip to content

Commit

Permalink
Fix type mismatch error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Jun 2, 2024
1 parent 0613e6a commit cd951ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base-type.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -113,4 +113,4 @@
assert(ctx.soft-error, message: display)
},
)
}
}

0 comments on commit cd951ca

Please sign in to comment.