git.iko.soy/lynxjs-elm/compiler
on master help sign in
fix typo

fix https://github.com/elm/compiler/issues/2046

commitf91bfde654d31633f4c6c8f9844468e6a29b9075 authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 15 Jan 2020, 10:33 (7 years ago) parentebbecaf
1 file changed+2−2
compiler/src/Reporting/Error/Canonicalize.hs+2−2
compiler/src/Reporting/Error/Canonicalize.hs+2−2
@@ -677,7 +677,7 @@ toReport source err =
677677 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
678678 ,
679679 D.stack
680− [ makeTheory "Are you are trying to mutate a variable?" $
680+ [ makeTheory "Are you trying to mutate a variable?" $
681681 "Elm does not have mutation, so when I see " ++ Name.toChars name
682682 ++ " defined in terms of " ++ Name.toChars name
683683 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"
@@ -723,7 +723,7 @@ toReport source err =
723723 "The `" <> Name.toChars name <> "` value is defined directly in terms of itself, causing an infinite loop."
724724 ,
725725 D.stack
726− [ makeTheory "Are you are trying to mutate a variable?" $
726+ [ makeTheory "Are you trying to mutate a variable?" $
727727 "Elm does not have mutation, so when I see " ++ Name.toChars name
728728 ++ " defined in terms of " ++ Name.toChars name
729729 ++ ", I treat it as a recursive definition. Try giving the new value a new name!"