Skip to content

Commit

Permalink
minor typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brekk committed Mar 16, 2024
1 parent 266ef62 commit aa36dab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/main/Explain/Format.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aa36dab

Please sign in to comment.