main.bend fails
raw source on the hub · import emerging-ezhttp@0.9.0.0/main.bend as Main
ezhttp: HTTP/1.1 client and server for Bend 2, with auth, cookie and CORS helpers.
Shared message types, BYO JSON via encode/decode. TLS for the client stays at the wire/runtime layer.
9 imports
import Base import ./src/url.bend as Url import ./src/http.bend as Http import ./src/body.bend as Body import ./src/client.bend as Client import ./src/server.bend as Server import ./src/cookie.bend as Cookie import ./src/cache.bend as Cache import ./src/cors.bend as Cors
The reader could not load this file (at 0xf0cabef12a69d5a23f62f89a75e1a7ba/src/body.bend:9). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
8 | Empty{}
9>| Text{text: String}
| ^^^^
10 | Octets{bytes: List<&2, U32>}