Merge pull request #1393 from elm-lang/fix
Fix #1367, unit from JS to Elm
commit05ce90684dccaab9d8140da866613372112f0c95
authorEvan Czaplicki <info@elm-lang.org>
dateMon 23 May 2016, 11:37 (10 years ago)
parent3a43888e53cad9
src/Generate/JavaScript/Foreign.hs+1−1
@@ -186,7 +186,7 @@ toMaybe tipe =
186186
187187toTuple0 :: Opt.Expr
188188toTuple0 =
189− to "null" <== [Opt.Var (Var.builtin "_Tuple0")]
189+ to "null" <== [ Opt.Data "_Tuple0" [] ]
190190
191191
192192toTuple :: [T.Canonical] -> Opt.Expr