include system/repr_v2

This commit is contained in:
ringabout
2025-12-17 21:16:03 +08:00
parent 6038535db1
commit 33ba7bd4aa
2 changed files with 1 additions and 5 deletions

View File

@@ -2605,8 +2605,7 @@ macro varargsLen*(x: varargs[untyped]): int {.since: (1, 1).} =
varargsLenImpl(x)
when defined(nimV2):
import system/repr_v2
export repr_v2
include system/repr_v2
proc repr*[T, U](x: HSlice[T, U]): string =
## Generic `repr` operator for slices that is lifted from the components

View File

@@ -1,8 +1,5 @@
include system/inclrtl
when defined(nimPreviewSlimSystem):
import std/formatfloat
proc isNamedTuple(T: typedesc): bool {.magic: "TypeTrait".}
## imported from typetraits