on master help sign in
Add unit () to error message that lists valid port values
commitc5fd7fd17466ff30a16a36744dfa29c2e02f43b6 authorEvan Czaplicki <info@elm-lang.org> dateThu 11 Sep 2014, 13:38 (12 years ago) parent8162d70
1 file changed+1−1
compiler/Type/ExtraChecks.hs+1−1
compiler/Type/ExtraChecks.hs+1−1
@@ -117,7 +117,7 @@ portTypes expr =
117117 , txt [ "It contains ", kind, ":\n" ]
118118 , P.nest 4 (PP.pretty tipe) <> P.text "\n"
119119 , txt [ "Acceptable values for ", dir "incoming" "outgoing", " ports include:" ]
120− , txt [ " Ints, Floats, Bools, Strings, Maybes, Lists, Arrays, Tuples," ]
120+ , txt [ " Ints, Floats, Bools, Strings, Maybes, Lists, Arrays, Tuples, unit values," ]
121121 , txt [ " Json.Values, ", dir "" "first-order functions, ", "and concrete records." ]
122122 ]
123123