on master help sign in
Fix #576 for Array and ports with tuples
commitaa913566019703c817ae834166e15b1ae58f3fc9 authorChristian Widera <xash@posteo.de> dateTue 15 Apr 2014, 22:35 (13 years ago) parent0bd20c0
1 file changed+1−1
compiler/Generate/JavaScript/Ports.hs+1−1
compiler/Generate/JavaScript/Ports.hs+1−1
@@ -20,7 +20,7 @@ check x jsType continue =
2020 JSNumber -> [typeof "number"]
2121 JSBoolean -> [typeof "boolean"]
2222 JSString -> [typeof "string", instanceof "String"]
23− JSArray -> [instanceof "Array"]
23+ JSArray -> [(obj "_U.isJSArray" <|)]
2424 JSObject fields -> [jsFold OpLAnd (typeof "object" : map member fields)]
2525
2626incoming :: Type -> Expression ()