on master help sign in
stop pointing folks to a blank page on TypeAlias(..) error
commit8f94082e4094e13d1e3e396769d3d7eae92281d2 authorEvan Czaplicki <evancz@users.noreply.github.com> dateSat 20 Jul 2019, 17:53 (7 years ago) parent40402c3
2 files changed+2−8
compiler/src/Reporting/Error/Canonicalize.hs+2−7 hints/types-vs-type-aliases.md−1
compiler/src/Reporting/Error/Canonicalize.hs+2−7
@@ -386,13 +386,8 @@ toReport source err =
386386 D.reflow $
387387 "The `" <> Name.toChars name <> "` type alias cannot be followed by (..) like this:"
388388 ,
389− D.stack
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− ]
389+ D.reflow $
390+ "Remove the (..) and it should work."
396391 )
397392
398393 ImportExposingNotFound region (ModuleName.Canonical _ home) value possibleNames ->
hints/types-vs-type-aliases.mddeleted−1
@@ -1 +0,0 @@
1−# Types vs Type Aliases