added another test case

This commit is contained in:
Araq
2011-11-12 01:02:06 +01:00
parent 2bd14f4ba8
commit 8fc15ca0d5
3 changed files with 13 additions and 2 deletions

View File

@@ -435,7 +435,7 @@ proc renderRstToRst(d: PDoc, n: PRstNode): PRope =
result = ropef("$n$1$3$n$1$2$n$1$3",
[ind, result, toRope(repeatChar(L, lvlToChar[n.level]))])
of rnTransition:
result = ropef("$n$n$1$2$n$n", [ind, toRope(repeatChar(78 - d.indent, '-'))])
result = ropef("$n$n$1$2$n$n", [ind, toRope(repeatChar(78-d.indent, '-'))])
of rnParagraph:
result = renderRstSons(d, n)
result = ropef("$n$n$1$2", [ind, result])

View File

@@ -0,0 +1,10 @@
type Node = tuple[left: ref Node]
proc traverse(root: ref Node) =
if root.left != nil: traverse(root.left)
type A = tuple[B: ptr A]
proc C(D: ptr A) = C(D.B)

View File

@@ -3,7 +3,7 @@ Version 0.8.14
- bug: s[1..n] = @[] produces wrong C code
- optimize unused constants away (affected by HLO)
- fix actors.nim; test with different thread var implementations
- fix actors.nim: fix thread local storage emulation
version 0.9.0
=============
@@ -68,6 +68,7 @@ version 0.9.XX
- make pegs support a compile-time option and make c2nim use regexes instead
per default?
- fix implicit generic routines
- improve docgen to use the semantic pass
- think about ``{:}.toTable[int, string]()``
- mocking support with ``tyProxy`` that does:
o.p(x) --> p(o, x) --> myMacro(o, p, x)