From 76bd12f7c67207aee092852c645a3a596fa31454 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 15 Aug 2025 17:17:35 -0400 Subject: [PATCH] Fix typo --- src/check/problem.zig | 2 +- test/snapshots/annotations.md | 4 ++-- test/snapshots/type_record_basic.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/check/problem.zig b/src/check/problem.zig index a6cfb40311..6751afaff9 100644 --- a/src/check/problem.zig +++ b/src/check/problem.zig @@ -1207,7 +1207,7 @@ pub const ReportBuilder = struct { } try report.document.addReflowingText(" needs the "); try report.document.addReflowingText(arg_index); - try report.document.addReflowingText(" argumument to be:"); + try report.document.addReflowingText(" argument to be:"); try report.document.addLineBreak(); try report.document.addText(" "); try report.document.addAnnotated(expected_type, .type_variable); diff --git a/test/snapshots/annotations.md b/test/snapshots/annotations.md index 93184d439e..a05d45bbe1 100644 --- a/test/snapshots/annotations.md +++ b/test/snapshots/annotations.md @@ -51,7 +51,7 @@ failPairDiffTypes = mkPair("1", 2) This argument is of type: _Str_ -But the function needs the first argumument to be: +But the function needs the first argument to be: _Num(_size)_ **INVALID NOMINAL TAG** @@ -93,7 +93,7 @@ failWithImplicit = mkPairInferred("str", 2) This argument is of type: _Str_ -But the function needs the first argumument to be: +But the function needs the first argument to be: _Num(_size)_ # TOKENS diff --git a/test/snapshots/type_record_basic.md b/test/snapshots/type_record_basic.md index 5948cab7a0..1d71ec954b 100644 --- a/test/snapshots/type_record_basic.md +++ b/test/snapshots/type_record_basic.md @@ -26,7 +26,7 @@ main! = |_| getName({name: "luke", age:21}) This argument is of type: _{ name: Str, age: Num(_size) }_ -But the function needs the first argumument to be: +But the function needs the first argument to be: _{ age: U64, name: Str }_ # TOKENS