on master help sign in
Correct the list of the acceptable JSTypes.
f49b8baevancz
compiler/Parse/Types.hs+1−1
@@ -167,4 +167,4 @@ toForeignType (VarPT x@(c:_))
167 Left $ "'" ++ x ++ "' is not an exportable type." ++ msg
167 Left $ "'" ++ x ++ "' is not an exportable type." ++ msg
168 where
168 where
169 msg = " The following types are exportable: " ++ intercalate ", " jsTypes
169 msg = " The following types are exportable: " ++ intercalate ", " jsTypes
170− jsTypes = ["JSString","JSNumber","JSElement","JSBool","JSObject"]
170+ jsTypes = ["JSString","JSNumber","JSDomNode","JSBool","JSObject"]