on master help sign in
switch to the term "custom-types" in hint link
212552fEvan Czaplicki
compiler/src/Reporting/Error/Type.hs+1−1
@@ -231,7 +231,7 @@ toPatternReport source localizer patternRegion category tipe expected =
231 "But all the previous patterns match:"
231 "But all the previous patterns match:"
232 [ D.link "Note"
232 [ D.link "Note"
233 "A `case` expression can only handle one type of value, so you may want to use"
233 "A `case` expression can only handle one type of value, so you may want to use"
234− "union-types"
234+ "custom-types"
235 "to handle “mixing” types."
235 "to handle “mixing” types."
236 ]
236 ]
237 )
237 )