gc: destructors is beginning to work (#10483)

* kochdocs.nim: code cleanup
* docgen: nicer indentation
* parser.nim: code cleanup
* fixes #10458
* make tests green again
* make =destroy mixins
* gc:destructors: produced C code is almost working
* --gc:destructors simple program compiles (but leaks memory)
* gc:destructors make examples compile in C++ mode
* destructors: string implementation bugfixes
* strs.nim: minor code cleanup
* destructors: builtin seqs are beginning to work
* remove debugging helpers
This commit is contained in:
Andreas Rumpf
2019-01-29 15:12:16 +01:00
committed by GitHub
parent 15422a3e5a
commit dee8e6e98a
19 changed files with 162 additions and 101 deletions

View File

@@ -1,5 +1,5 @@
discard """
errormsg: "index out of bounds: (a:0) <= (i:2) <= (b:1) "
errormsg: "index out of bounds: (a: 0) <= (i: 2) <= (b: 1) "
line: 18
"""