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:
11
11
Bugfixes:
12
12
13
13
Other improvements:
14
+ - Fix warnings revealed by v0.14.1 PS release (#85 by @JordanMartinez )
14
15
15
16
## [ v6.0.0] ( https://github.com/purescript/purescript-foreign/releases/tag/v6.0.0 ) - 2021-02-26
16
17
Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ hasOwnPropertyImpl :: forall k. k -> Foreign -> Boolean
55
55
hasOwnPropertyImpl _ value | isNull value = false
56
56
hasOwnPropertyImpl _ value | isUndefined value = false
57
57
hasOwnPropertyImpl p value | typeOf value == " object" || typeOf value == " function" = runFn2 unsafeHasOwnProperty p value
58
- hasOwnPropertyImpl _ value = false
58
+ hasOwnPropertyImpl _ _ = false
59
59
60
60
foreign import unsafeHasProperty :: forall k . Fn2 k Foreign Boolean
61
61
62
62
hasPropertyImpl :: forall k . k -> Foreign -> Boolean
63
63
hasPropertyImpl _ value | isNull value = false
64
64
hasPropertyImpl _ value | isUndefined value = false
65
65
hasPropertyImpl p value | typeOf value == " object" || typeOf value == " function" = runFn2 unsafeHasProperty p value
66
- hasPropertyImpl _ value = false
66
+ hasPropertyImpl _ _ = false
67
67
68
68
instance indexString :: Monad m => Index String m where
69
69
index = flip readProp
You can’t perform that action at this time.
0 commit comments