IC: added converter test case (#17688)
* IC: added converter test case * IC: make converter example work
This commit is contained in:
parent
8aa5991bea
commit
1822ed384a
4 changed files with 30 additions and 3 deletions
|
|
@ -326,6 +326,10 @@ proc loadCompilerProc*(g: ModuleGraph; name: string): PSym =
|
|||
strTableAdd(g.compilerprocs, result)
|
||||
return result
|
||||
|
||||
proc loadPackedSym*(g: ModuleGraph; s: var LazySym) =
|
||||
if s.sym == nil:
|
||||
s.sym = loadSymFromId(g.config, g.cache, g.packed, s.id.module, s.id.packed)
|
||||
|
||||
proc `$`*(u: SigHash): string =
|
||||
toBase64a(cast[cstring](unsafeAddr u), sizeof(u))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue