on master help sign in
fix typo
f91bfdeEvan Czaplicki
compiler/src/Reporting/Error/Canonicalize.hs+2−2
@@ -677,7 +677,7 @@ toReport source err =
677 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
677 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
678 ,
678 ,
679 D.stack
679 D.stack
680− [ makeTheory "Are you are trying to mutate a variable?" $
680+ [ makeTheory "Are you trying to mutate a variable?" $
681 "Elm does not have mutation, so when I see " ++ Name.toChars name
681 "Elm does not have mutation, so when I see " ++ Name.toChars name
682 ++ " defined in terms of " ++ Name.toChars name
682 ++ " defined in terms of " ++ Name.toChars name
683 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"
683 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"
@@ -723,7 +723,7 @@ toReport source err =
723 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
723 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
724 ,
724 ,
725 D.stack
725 D.stack
726− [ makeTheory "Are you are trying to mutate a variable?" $
726+ [ makeTheory "Are you trying to mutate a variable?" $
727 "Elm does not have mutation, so when I see " ++ Name.toChars name
727 "Elm does not have mutation, so when I see " ++ Name.toChars name
728 ++ " defined in terms of " ++ Name.toChars name
728 ++ " defined in terms of " ++ Name.toChars name
729 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"
729 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"