makes DrNim compile again (#17584)
This commit is contained in:
parent
af2a7e8cbc
commit
5ecbe67371
2 changed files with 19 additions and 13 deletions
|
|
@ -393,8 +393,9 @@ proc registerModule*(g: ModuleGraph; m: PSym) =
|
|||
proc registerModuleById*(g: ModuleGraph; m: FileIndex) =
|
||||
registerModule(g, g.packed[int m].module)
|
||||
|
||||
proc initOperators(g: ModuleGraph): Operators =
|
||||
proc initOperators*(g: ModuleGraph): Operators =
|
||||
# These are safe for IC.
|
||||
# Public because it's used by DrNim.
|
||||
result.opLe = createMagic(g, "<=", mLeI)
|
||||
result.opLt = createMagic(g, "<", mLtI)
|
||||
result.opAnd = createMagic(g, "and", mAnd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue