From 22cfd6382c42abfa7e1952cccf6e0ecb5990fdbf Mon Sep 17 00:00:00 2001 From: Vasili Revelas Date: Wed, 15 Mar 2023 11:09:47 +0000 Subject: [PATCH] errors: correct spelling --- src/internal/types/errors/codes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/types/errors/codes.go b/src/internal/types/errors/codes.go index 9615f496c8..7ddb0b748e 100644 --- a/src/internal/types/errors/codes.go +++ b/src/internal/types/errors/codes.go @@ -1328,10 +1328,10 @@ const ( NotAGenericType // WrongTypeArgCount occurs when a type or function is instantiated with an - // incorrent number of type arguments, including when a generic type or + // incorrect number of type arguments, including when a generic type or // function is used without instantiation. // - // Errors inolving failed type inference are assigned other error codes. + // Errors involving failed type inference are assigned other error codes. // // Example: // type T[p any] int