summary refs log tree commit diff stats
path: root/lib/system/reprjs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/reprjs.nim')
-rw-r--r--lib/system/reprjs.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/reprjs.nim b/lib/system/reprjs.nim
index 9c27a4721..36972024a 100644
--- a/lib/system/reprjs.nim
+++ b/lib/system/reprjs.nim
@@ -237,4 +237,5 @@ proc reprAny(p: pointer, typ: PNimType): string {.compilerRtl.} =
   var cl: ReprClosure
   initReprClosure(cl)
   reprAux(result, p, typ, cl)
-  add(result, "\n")
+  when defined(nimLegacyReprWithNewline): # see PR #16034
+    add result, "\n"
for nim pretty' href='/ahoang/Nim/commit/todo.txt?h=devel&id=8925d0e10335c8ae7671b7fb19f25a6f0a1802d3'>8925d0e10 ^
fe30ec83e ^
20774ad43 ^
b7c806381 ^

b9079b871 ^
ee4e95fef ^
795a7762c ^
dac43e0fd ^
dbf9117c5 ^
20774ad43 ^

0c3299383 ^
e27ab3673 ^
2de99653d ^


1088814e5 ^
2de99653d ^
9673e4f2d ^



2de99653d ^





fab8cee13 ^
fab8cee13 ^
fab8cee13 ^
bd705a517 ^
fab8cee13 ^
54935e2e7 ^
a64d4dc35 ^


e65c296bc ^

62ccf1352 ^
8087f51d1 ^
a64d4dc35 ^
3d7abb958 ^
0d19de18c ^
a23d418d7 ^
e353737e3 ^

1a3b730bf ^

2958adc47 ^


c55f5b34e ^
5506e8491 ^
5f64d7a35 ^
d01ff8994 ^
9280473eb ^

d01ff8994 ^
d01ff8994 ^




62ccf1352 ^
bb3f648bd ^
bb3f648bd ^
258aabba6 ^
258aabba6 ^



258aabba6 ^
258aabba6 ^
258aabba6 ^







8b5aa221a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95