diff options
author | Araq <rumpf_a@web.de> | 2018-09-08 10:04:22 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-09-08 10:04:22 +0200 |
commit | ca77f9388a9b1a580314aa5898e581461a07bc39 (patch) | |
tree | 99aaeff65386f772ff0228cd96d0b260361e8923 /compiler/pathutils.nim | |
parent | c7ba7a97c0712e650ee6ed6182d6989192d57dea (diff) | |
download | Nim-ca77f9388a9b1a580314aa5898e581461a07bc39.tar.gz |
'nim doc': fixes index generation regression
Diffstat (limited to 'compiler/pathutils.nim')
-rw-r--r-- | compiler/pathutils.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/pathutils.nim b/compiler/pathutils.nim index e5317d5c3..b71caf314 100644 --- a/compiler/pathutils.nim +++ b/compiler/pathutils.nim @@ -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 |