on master help sign in
stop pointing folks to a blank page on TypeAlias(..) error
8f94082Evan Czaplicki
compiler/src/Reporting/Error/Canonicalize.hs+2−7
@@ -386,13 +386,8 @@ toReport source err =
386 D.reflow $
386 D.reflow $
387 "The `" <> Name.toChars name <> "` type alias cannot be followed by (..) like this:"
387 "The `" <> Name.toChars name <> "` type alias cannot be followed by (..) like this:"
388 ,
388 ,
389− D.stack
389+ D.reflow $
390− [ "Remove the (..) and it should work."
390+ "Remove the (..) and it should work."
391− , D.link "Hint"
392− "The distinction between `type` and `type alias` is important here. Read"
393− "types-vs-type-aliases"
394− "to learn more."
395− ]
396 )
391 )
397
392
398 ImportExposingNotFound region (ModuleName.Canonical _ home) value possibleNames ->
393 ImportExposingNotFound region (ModuleName.Canonical _ home) value possibleNames ->
hints/types-vs-type-aliases.mddeleted−1
@@ -1 +0,0 @@
1−# Types vs Type Aliases