Skip to content

Commit bdc5672

Browse files
committed
feat: update dependencies and fix "No type class instance was found"
error after addition of MutableBuffer class purescript-node/purescript-node-buffer#33 ``` No type class instance was found for Node.Buffer.Class.MutableBuffer t2 Effect The instance head contains unknown type variables. Consider adding a type annotation. while applying a function fromString of type MutableBuffer t0 t1 => String -> Encoding -> t1 t0 to argument "Not Found" while inferring the type of fromString "Not Found" in value declaration serveFilesAndGet ```
1 parent bf43bf6 commit bdc5672

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages.dhall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ let mkPackage =
22
https://raw.githubusercontent.com/purescript/package-sets/psc-0.13.0-20190626/src/mkPackage.dhall sha256:0b197efa1d397ace6eb46b243ff2d73a3da5638d8d0ac8473e8e4a8fc528cf57
33

44
let upstream =
5-
https://github.com/purescript/package-sets/releases/download/psc-0.13.3-20190831/packages.dhall sha256:852cd4b9e463258baf4e253e8524bcfe019124769472ca50b316fe93217c3a47
5+
https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200404/packages.dhall sha256:f239f2e215d0cbd5c203307701748581938f74c4c78f4aeffa32c11c131ef7b6
66

77
let overrides = {=}
88

test/Hyper/Node/FileServerSpec.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ serveFilesAndGet path =
3434
app = fileServer "test/Hyper/Node/FileServerSpec" on404
3535

3636
on404 = Ix.do
37-
body <- liftEffect (Buffer.fromString "Not Found" UTF8)
37+
(body :: Buffer.Buffer) <- liftEffect (Buffer.fromString "Not Found" UTF8)
3838
writeStatus statusNotFound
3939
headers []
4040
respond body

0 commit comments

Comments
 (0)