summary refs log tree commit diff stats
path: root/compiler/ropes.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ropes.nim')
-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]) = 
ik K. Agaram <vc@akkartik.com> 2015-04-22 17:15:19 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-04-22 17:15:19 -0700 1136 - switch from ncurses to https://github.com/nsf/termbox' href='/akkartik/mu/commit/cpp/termbox/utf8.c?h=main&id=5f1285238b09a5f01836138f5bb94654f78588a7'>5f128523 ^
9a31c34f ^







5f128523 ^
9a31c34f ^

5f128523 ^



9a31c34f ^


5f128523 ^
9a31c34f ^


















5f128523 ^
9a31c34f ^




5f128523 ^
9a31c34f ^
5f128523 ^
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