mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-12 18:15:30 +00:00
include system/repr_v2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
include system/inclrtl
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/formatfloat
|
||||
|
||||
proc isNamedTuple(T: typedesc): bool {.magic: "TypeTrait".}
|
||||
## imported from typetraits
|
||||
|
||||
|
||||
Reference in New Issue
Block a user