diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2015-03-29 12:10:46 +0800 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2015-04-01 22:30:39 +0800 |
commit | b4e4ea8d1bcfbccae5a8aa20d8c7e61c09b6f463 (patch) | |
tree | 1a45b3d292a13b5a81219c235ef069e59f6317e6 /compiler/ropes.nim | |
parent | 97d2df9bac34e01cb3a847909d76a60d8cc085db (diff) | |
download | Nim-b4e4ea8d1bcfbccae5a8aa20d8c7e61c09b6f463.tar.gz |
compiler_ropes: don't expose newRope
Diffstat (limited to 'compiler/ropes.nim')
-rw-r--r-- | compiler/ropes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ropes.nim b/compiler/ropes.nim index 4194ced95..b4e30c1e7 100644 --- a/compiler/ropes.nim +++ b/compiler/ropes.nim @@ -103,7 +103,7 @@ proc len*(a: PRope): int = if a == nil: result = 0 else: result = a.length -proc newRope*(data: string = nil): PRope = +proc newRope(data: string = nil): PRope = new(result) if data != nil: result.length = len(data) |