main.bend fails
raw source on the hub · import 0x0a372da4a053652f70ded7d6e0d19330/main.bend as Main
ezhttp: HTTP client and server for Bend 2. Shared message types, BYO JSON via encode/decode. TLS for the client stays at the wire/runtime layer.
9 imports
import Base import ./url.bend as Url import ./http.bend as Http import ./body.bend as Body import ./client.bend as Client import ./server.bend as Server import ./cookie.bend as Cookie import ./cache.bend as Cache import ./cors.bend as Cors
The reader could not load this file (at 0x0a372da4a053652f70ded7d6e0d19330/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>}