Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | properly deprecate parseopt2 (#10452) | Miran | 2019-01-25 | 1 | -2/+2 |
| | |||||
* | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | Dead code elimination for entire modules and their init procs if empty (#10032) | cooldome | 2018-12-30 | 1 | -0/+2 |
| | | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom | ||||
* | lots of small changes | Arne Döring | 2018-12-11 | 6 | -10/+12 |
| | |||||
* | megatest checks output and nimout | Arne Döring | 2018-12-11 | 2 | -3/+2 |
| | |||||
* | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -16/+0 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 1 | -4/+4 |
| | |||||
* | join simple test | Arne Döring | 2018-11-23 | 1 | -10/+0 |
| | |||||
* | make run the default action of a test in tester | Arne Döring | 2018-11-23 | 6 | -2/+31 |
| | |||||
* | make more tests green for C++; refs #7870 | Araq | 2018-10-30 | 4 | -2/+4 |
| | |||||
* | make thavlak and tmarkerproc_regression tests take fewer iterations in order ↵ | Araq | 2018-10-17 | 1 | -3/+3 |
| | | | | to speedup the CIs | ||||
* | Merge tests into a larger file (part 5 of ∞) (#9368) | Miran | 2018-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix | ||||
* | fixes #9297 (#9298) | cooldome | 2018-10-11 | 1 | -1/+41 |
| | | | | | | * fixes #9297 * improve spacing | ||||
* | Fix wrong heuristic in codegen (#9293) | LemonBoy | 2018-10-11 | 1 | -0/+22 |
| | | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286 | ||||
* | Codegen fix for procs taking type(nil) (#9231) | xzfc | 2018-10-09 | 1 | -0/+6 |
| | |||||
* | Fix codegen for some set operations | LemonBoy | 2018-09-28 | 1 | -0/+12 |
| | | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098 | ||||
* | Merge pull request #8746 from LemonBoy/nil-opts | Andreas Rumpf | 2018-09-23 | 1 | -0/+13 |
|\ | | | | | nil strings are movable | ||||
| * | nil strings are movable | LemonBoy | 2018-09-22 | 1 | -0/+13 |
| | | |||||
* | | Merge pull request #8983 from cooldome/codegen_crash | Andreas Rumpf | 2018-09-18 | 1 | -1/+34 |
|\ \ | | | | | | | Fixes 8979 | ||||
| * | | Fixes 8979 | Andrii Riabushenko | 2018-09-16 | 1 | -1/+34 |
| | | | |||||
* | | | Fix codegen for set[T] parameters | LemonBoy | 2018-09-15 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967 | ||||
* | | | Fix hashing for codegenProc (sic) types | LemonBoy | 2018-09-14 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964 | ||||
* | | | Fix semantic pass with borrowed magic procs (#8945) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
| | | | | | | | | | Reported by pqflx3 on the forum. | ||||
* | | | Always emit hti object types if needed (#8940) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
|/ / | | | | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938 | ||||
* | | Allow wCodegenDecl on lambdas (#8892) | LemonBoy | 2018-09-07 | 1 | -0/+13 |
| | | |||||
* | | Codegen fix for function pointers marked inline (#8866) | LemonBoy | 2018-09-04 | 2 | -0/+27 |
| | | | | | | | | Fixes #5345 Fixes #5701 | ||||
* | | fixes #8781 by appending "_U" instead of 'U' (#8787) | Vindaar | 2018-08-27 | 1 | -0/+25 |
|/ | |||||
* | make more tests green; system.repr does not produce 'nil' for strings and ↵ | Araq | 2018-08-22 | 1 | -2/+2 |
| | | | | seqs anymore | ||||
* | Fix unsound transform pass (#8633) | LemonBoy | 2018-08-14 | 1 | -0/+8 |
| | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime. | ||||
* | Fixes 8616 (#8617) | LemonBoy | 2018-08-12 | 3 | -0/+16 |
| | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616 | ||||
* | fixes #7392 (#7395) | cooldome | 2018-03-23 | 2 | -1/+8 |
| | |||||
* | Fixes #7363 (#7371) | cooldome | 2018-03-20 | 1 | -0/+14 |
| | |||||
* | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340) | cooldome | 2018-03-16 | 2 | -0/+27 |
| | | | Do not emit object definition it if used only by ref or ptr | ||||
* | fixes #7332 (#7341) | andri lim | 2018-03-16 | 1 | -0/+29 |
| | |||||
* | fixes #6960 | Andreas Rumpf | 2018-02-11 | 1 | -0/+31 |
| | |||||
* | Fixes codegen bug with literal negative zero, fixes #7079 (#7158) | GULPF | 2018-01-31 | 1 | -0/+9 |
| | | | | | | * Fixes #7079 * Fix handling of neg zero during constant folding | ||||
* | fixes #668 | Araq | 2017-12-15 | 1 | -0/+26 |
| | |||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 4 | -4/+4 |
| | |||||
* | fixes #6889 | Andreas Rumpf | 2017-12-08 | 1 | -0/+15 |
| | |||||
* | fixes another sighashes problem | Araq | 2017-12-08 | 1 | -0/+13 |
| | |||||
* | Fix usage of parameters types in templates #6756 (#6768) | Anatoly Galiulin | 2017-11-29 | 1 | -0/+18 |
| | |||||
* | fixes #6724 | Andreas Rumpf | 2017-11-19 | 1 | -0/+33 |
| | |||||
* | fixes #6422 | Andreas Rumpf | 2017-10-26 | 1 | -1/+18 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-10-16 | 1 | -3/+3 |
| | |||||
* | fixes #6279 | Andreas Rumpf | 2017-08-29 | 2 | -1/+13 |
| | |||||
* | fixes #6234 | Andreas Rumpf | 2017-08-11 | 1 | -0/+22 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 2 | -2/+2 |
| | |||||
* | fix #5296 (#5565) | zah | 2017-03-19 | 1 | -0/+14 |
| | |||||
* | fixes #5439 | Araq | 2017-02-26 | 1 | -0/+27 |
| | |||||
* | fixes #5404 | Araq | 2017-02-17 | 1 | -0/+16 |
| |