File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ New features:
1111Bugfixes:
1212
1313Other improvements:
14+ - Fix warnings revealed by v0.14.1 PS release (#85 by @JordanMartinez )
1415
1516## [ v6.0.0] ( https://github.com/purescript/purescript-foreign/releases/tag/v6.0.0 ) - 2021-02-26
1617
Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ hasOwnPropertyImpl :: forall k. k -> Foreign -> Boolean
5555hasOwnPropertyImpl _ value | isNull value = false
5656hasOwnPropertyImpl _ value | isUndefined value = false
5757hasOwnPropertyImpl p value | typeOf value == " object" || typeOf value == " function" = runFn2 unsafeHasOwnProperty p value
58- hasOwnPropertyImpl _ value = false
58+ hasOwnPropertyImpl _ _ = false
5959
6060foreign import unsafeHasProperty :: forall k . Fn2 k Foreign Boolean
6161
6262hasPropertyImpl :: forall k . k -> Foreign -> Boolean
6363hasPropertyImpl _ value | isNull value = false
6464hasPropertyImpl _ value | isUndefined value = false
6565hasPropertyImpl p value | typeOf value == " object" || typeOf value == " function" = runFn2 unsafeHasProperty p value
66- hasPropertyImpl _ value = false
66+ hasPropertyImpl _ _ = false
6767
6868instance indexString :: Monad m => Index String m where
6969 index = flip readProp
You can’t perform that action at this time.
0 commit comments