summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-23 16:45:17 +0100
committerAraq <rumpf_a@web.de>2014-01-23 16:45:17 +0100
commit2ecff76aac65f7dfad3a6c16929d4c70dd8394fc (patch)
tree92edf54217300cc29a18ae68aea7053b70fcdfcc /compiler
parentf4b81ba92bdf413c70a2276b327bf7e0f433ba73 (diff)
downloadNim-2ecff76aac65f7dfad3a6c16929d4c70dd8394fc.tar.gz
master compiler compiles with devel
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ropes.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/ropes.nim b/compiler/ropes.nim
index 707c29123..ce81aae37 100644
--- a/compiler/ropes.nim
+++ b/compiler/ropes.nim
@@ -283,11 +283,10 @@ proc ropef(frmt: TFormatStr, args: varargs[PRope]): PRope =
   assert(RopeInvariant(result))
 
 {.push stack_trace: off, line_trace: off.}
-proc `~`*(r: expr[string]): PRope =
+proc `~`*(r: string): PRope =
   # this is the new optimized "to rope" operator
   # the mnemonic is that `~` looks a bit like a rope :)
-  var r {.global.} = r.ropef
-  return r
+  return r.ropef
 {.pop.}
 
 proc appf(c: var PRope, frmt: TFormatStr, args: varargs[PRope]) = 
06-12 01:13:29 -0400 committer Ben Morrison <ben@gbmor.dev> 2019-06-12 01:13:29 -0400 testing simple error log function' href='/gbmor/getwtxt/commit/svc/init_test.go?h=v0.4.8&id=f56b11101ec68121924f20c96f6daa3981850a46'>f56b111 ^
6753171 ^
2fd6b1a ^
6753171 ^
a6c8162 ^

e10fc64 ^




5e92b61 ^
a6c8162 ^
5e92b61 ^
c050730 ^
e10fc64 ^
6753171 ^
c050730 ^

e10fc64 ^

7f76158 ^
e10fc64 ^
5e92b61 ^
a6c8162 ^

e10fc64 ^





a6c8162 ^





979e1f9 ^
a6c8162 ^
6753171 ^
6753171 ^
6753171 ^

bc6811a ^
6753171 ^
bc6811a ^



6753171 ^
6753171 ^


bc6811a ^

6753171 ^






7f76158 ^
6753171 ^

e10fc64 ^
6753171 ^
6753171 ^
6753171 ^
6753171 ^
6753171 ^
45d6723 ^
6753171 ^




6753171 ^
2fd6b1a ^
bc6811a ^

2fd6b1a ^
37142b5 ^
41398b1 ^
2fd6b1a ^
37142b5 ^
2fd6b1a ^
bc6811a ^








37142b5 ^
bc6811a ^




f56b111 ^












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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145