src/Value.bend fails
raw source on the hub · import 0x876fb95e9d05a7c35ecfcf6d39b99754/src/Value.bend as Value
5 imports
import Base import bend-kit-json@0.3.0.0/json.bend as Json import ./JsonAdapter.bend as JsonAdapter import bend-codec-lib@0.2.0.0/bytes.bend as ByteLib import bend-codec-lib@0.2.0.0/hex.bend as HexLib
The reader could not load this file (at 0x876fb95e9d05a7c35ecfcf6d39b99754/src/Value.bend:15). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
14 | type Value is Data:
15>| Text{content: String}
| ^^^^
16 | Object{object: Json.Val}