schema: import std/sets when neccessary
This commit is contained in:
parent
0f697349cc
commit
0e3824fc5d
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "20230530"
|
||||
version = "20230607"
|
||||
author = "Emery Hemingway"
|
||||
description = "data model and serialization format"
|
||||
license = "Unlicense"
|
||||
|
|
|
@ -717,6 +717,8 @@ proc collectRefImports(imports: var StringSet; loc: Location; pat: Pattern)
|
|||
|
||||
proc collectRefImports(imports: var StringSet; loc: Location; sp: SimplePattern) =
|
||||
case sp.orKind
|
||||
of SimplePatternKind.setof:
|
||||
incl(imports, "std/sets")
|
||||
of SimplePatternKind.dictof:
|
||||
incl(imports, "std/tables")
|
||||
of SimplePatternKind.Ref:
|
||||
|
|
Loading…
Reference in New Issue