preserves_schema_nim: remove dead code
This commit is contained in:
parent
8b2407b1a2
commit
a01ba8c96d
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "20240107"
|
||||
version = "20240108"
|
||||
author = "Emery Hemingway"
|
||||
description = "data model and serialization format"
|
||||
license = "Unlicense"
|
||||
|
@ -11,4 +11,4 @@ bin = @["preserves/preserves_schema_nim", "preserves/private/preserves
|
|||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 2.0.0", "compiler >= 1.4.8", "https://github.com/zevv/npeg.git >= 1.2.1", "https://github.com/ehmry/nim-bigints.git >= 20231006"
|
||||
requires "nim >= 2.0.0", "compiler >= 2.0.0", "https://github.com/zevv/npeg.git >= 1.2.1", "https://github.com/ehmry/nim-bigints.git >= 20231006"
|
||||
|
|
|
@ -128,13 +128,6 @@ proc hasEmbeddedType(scm: Schema): bool =
|
|||
of EmbeddedtypenameKind.false: false
|
||||
of EmbeddedtypenameKind.Ref: true
|
||||
|
||||
proc embeddedIdentString(scm: Schema): string =
|
||||
doAssert $scm.field0.embeddedType.ref.name != ""
|
||||
"Value"
|
||||
|
||||
proc embeddedIdent(scm: Schema): PNode =
|
||||
ident(embeddedIdentString(scm))
|
||||
|
||||
proc parameterize(loc: Location; node: PNode; embeddable: bool): PNode = node
|
||||
|
||||
proc parameterize(loc: Location; spec: TypeSpec): PNode =
|
||||
|
|
Loading…
Reference in New Issue