'nim doc': fixes index generation regression
This commit is contained in:
parent
c7ba7a97c0
commit
ca77f9388a
2 changed files with 8 additions and 4 deletions
|
|
@ -191,7 +191,7 @@ when true:
|
|||
proc `==`*(x, y: RelativeDir): bool = eqImpl(x.string, y.string)
|
||||
|
||||
proc `/`*(base: AbsoluteDir; f: RelativeFile): AbsoluteFile =
|
||||
assert isAbsolute(base.string)
|
||||
#assert isAbsolute(base.string)
|
||||
assert(not isAbsolute(f.string))
|
||||
result = AbsoluteFile newStringOfCap(base.string.len + f.string.len)
|
||||
var state = 0
|
||||
|
|
@ -199,7 +199,7 @@ when true:
|
|||
canon(f.string, result.string, state)
|
||||
|
||||
proc `/`*(base: AbsoluteDir; f: RelativeDir): AbsoluteDir =
|
||||
assert isAbsolute(base.string)
|
||||
#assert isAbsolute(base.string)
|
||||
assert(not isAbsolute(f.string))
|
||||
result = AbsoluteDir newStringOfCap(base.string.len + f.string.len)
|
||||
var state = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue