summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilFreeman <>2014-10-30 16:21:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2014-10-30 16:21:00 (GMT)
commit657524098de0309d959c2e93175116bc3e20db5e (patch)
treeb717a15556f4851ebb8e2dbeb4e05e46dcdf307f
parent1b941c239d31605f6338b35e31ab5b1b7a991c70 (diff)
version 0.5.7.10.5.7.1
-rw-r--r--purescript.cabal2
-rw-r--r--src/Language/PureScript/Optimizer/Inliner.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/purescript.cabal b/purescript.cabal
index 70d63de..f756633 100644
--- a/purescript.cabal
+++ b/purescript.cabal
@@ -1,5 +1,5 @@
name: purescript
-version: 0.5.7
+version: 0.5.7.1
cabal-version: >=1.8
build-type: Simple
license: MIT
diff --git a/src/Language/PureScript/Optimizer/Inliner.hs b/src/Language/PureScript/Optimizer/Inliner.hs
index 2664afb..a097e77 100644
--- a/src/Language/PureScript/Optimizer/Inliner.hs
+++ b/src/Language/PureScript/Optimizer/Inliner.hs
@@ -153,7 +153,7 @@ inlineCommonOperators = applyAll $
convert other = other
isOp (JSAccessor fnName' (JSVar prelude)) = prelude == C.prelude && fnName' == fnName
isOp _ = False
- isOpDict dictName (JSApp (JSAccessor prop (JSVar prelude)) []) = prelude == C.prelude && prop == dictName
+ isOpDict dictName (JSAccessor prop (JSVar prelude)) = prelude == C.prelude && prop == dictName
isOpDict _ _ = False
mkFn :: Int -> JS -> JS
mkFn 0 = everywhereOnJS convert