src/hub/get.bend fails
raw source on the hub · import ezx@1.5.0.0/src/hub/get.bend as Get
hub/get: a file fetched from the hub over ezhttp, or read off the disk for a
file: url, and judged by hub/hub against the hash that names it. The GET
lives apart from the judging because ezhttp reaches foreign code, and bend
2.0.32 fails a proof whose imports reach foreign code, so a law may import
hub/hub but never this.
7 imports
import Base import 0xf1c957a470368870a6d1d62a8c0cbe32/main.bend as Http import 0xf1c957a470368870a6d1d62a8c0cbe32/src/client.bend as Client import 0xf1c957a470368870a6d1d62a8c0cbe32/src/url.bend as Url import 0xabe575924687afad4cee1a2c1194d639/main.bend as R import ../io/file.bend as F import ./hub.bend as Hub
The reader could not load this file (at 0xf1c957a470368870a6d1d62a8c0cbe32/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>}