preserves_schema_nim: use "E" as a default emebedding ident
This commit is contained in:
parent
6b965c5c0e
commit
8ff65486ff
|
@ -136,7 +136,7 @@ proc hasEmbeddedType(scm: Schema): bool =
|
|||
proc embeddedIdentString(scm: Schema): string =
|
||||
case scm.data.embeddedType.orKind
|
||||
of EmbeddedtypenameKind.false:
|
||||
raiseAssert "no embedded type for this module"
|
||||
"E"
|
||||
of EmbeddedtypenameKind.Ref:
|
||||
doAssert $scm.data.embeddedType.ref.name != ""
|
||||
$scm.data.embeddedType.ref.name
|
||||
|
|
Loading…
Reference in New Issue