From aa36dab77828689c1a12e8a6ace5124d0c8cab6d Mon Sep 17 00:00:00 2001 From: brekk Date: Sat, 16 Mar 2024 08:54:08 -1000 Subject: [PATCH] minor typo fixes --- compiler/main/Explain/Format.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/main/Explain/Format.hs b/compiler/main/Explain/Format.hs index 523439173..60c6b64b8 100644 --- a/compiler/main/Explain/Format.hs +++ b/compiler/main/Explain/Format.hs @@ -696,7 +696,7 @@ createSimpleErrorDiagnostic color _ typeError = case typeError of DerivingAliasNotAllowed n -> "Deriving Alias Not Allowed\n\n" <> "The type '" <> n <> "' is an alias.\n\n" - <> "Hint: Aliases can't be derived, use the aliased type isntead\n" + <> "Hint: Aliases can't be derived, use the aliased type instead\n" InvalidInterfaceDerived n -> "Invalid Interface Derived\n\n" @@ -1313,14 +1313,14 @@ createErrorDiagnostic color context typeError = case typeError of , Diagnose.This $ "The type '" <> n <> "' is an alias." ) ] - [Diagnose.Hint "Aliases can't be derived, use the aliased type isntead"] + [Diagnose.Hint "Aliases can't be derived, use the aliased type instead"] NoContext -> Diagnose.Err Nothing "Deriving Alias Not Allowed" [] - [Diagnose.Hint "Aliases can't be derived, use the aliased type isntead"] + [Diagnose.Hint "Aliases can't be derived, use the aliased type instead"] InvalidInterfaceDerived n -> case context of