Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Give error when case has an else branch even though all cases are already ↵ | Neelesh Chandola | 2018-12-13 | 1 | -1/+3 |
| | | | | | | | | | covered (#9930) * Give error when case has an else branch even though all cases are already covered. * Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError * Remove unnecessary else in unittest.nim * Fix sockets.nim | ||||
* | Undefine some symbols and globalOptions when processing nimscript (#9945) ↵ | Neelesh Chandola | 2018-12-13 | 1 | -0/+12 |
| | | | | | | | | [backport] * Undefine some symbols when processing nimscript * Undefine taintMode when processing nimscript * Reload .cfg configuration | ||||
* | Fix nimsuggest build with clang on windows | Neelesh Chandola | 2018-12-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8748 from LemonBoy/when-in-objects | Andreas Rumpf | 2018-12-12 | 1 | -0/+40 |
|\ | | | | | Pervasive replacement of nkRecWhen in generic types | ||||
| * | Pervasive replacement of nkRecWhen in generic types | LemonBoy | 2018-10-19 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long story short, even if the type contains no reference at all to its generic parameters we still have to walk its AST and evaluate any nkRecWhen nodes that semRecordNodeAux skipped due to the type being a generic one. We also must be careful to modify the type `n` node in place since it may be referenced by the caller as seen in the tillegaltyperecursion test. Moreover we also can't have the nkSym drift away from their original values in order not to break the JS nkObjConstr codegen. | ||||
* | | resolve merge conflicts | Araq | 2018-12-12 | 1 | -1/+1 |
|\ \ | |||||
| * | | Removed arch option in compiler definition | Fredrik Høisæther Rasch | 2017-03-21 | 1 | -1/+1 |
| | | | | | | | | | | | | Previous Artifiact, changed to better reflect the settings in the default nim.cfg | ||||
* | | | Merge pull request #9937 from cooldome/pragmablock_custom_pragma | Andreas Rumpf | 2018-12-12 | 2 | -9/+7 |
|\ \ \ | | | | | | | | | Language feature: implement custom pragmas in pragma blocks | ||||
| * | | | custom pragmas in pragma blocks | Andrii Riabushenko | 2018-12-11 | 2 | -9/+7 |
| | | | | |||||
* | | | | minor cleanups | Andreas Rumpf | 2018-12-11 | 1 | -7/+6 |
| | | | | |||||
* | | | | Merge pull request #9916 from timotheecour/pr_ref_9906_errorMax | Andreas Rumpf | 2018-12-11 | 1 | -0/+9 |
|\ \ \ \ | | | | | | | | | | | refs #9906; --errorMax:10 allows stopping after 10 errors (more robust than nim check) | ||||
| * | | | | --errorMax:0 means: unlimited | Timothee Cour | 2018-12-09 | 1 | -3/+7 |
| | | | | | |||||
| * | | | | refs #9906; --errorMax:10 allows stopping after 10 errors | Timothee Cour | 2018-12-09 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | cleanup main.nim's code style | Andreas Rumpf | 2018-12-11 | 1 | -14/+10 |
| | | | | | |||||
* | | | | | destructors: defensive programming against wrong generated destructor for ↵ | Andreas Rumpf | 2018-12-11 | 2 | -6/+10 |
| | | | | | | | | | | | | | | | | | | | | string/seq | ||||
* | | | | | Merge pull request #9917 from timotheecour/pr_dump_msg | Andreas Rumpf | 2018-12-11 | 1 | -1/+17 |
|\ \ \ \ \ | | | | | | | | | | | | | enhance `dump --dump.format:json` : report `out`, `hints`, `warnings`, document it ; closes #9513 | ||||
| * | | | | | enhance `dump --dump.format:json` | Timothee Cour | 2018-12-09 | 1 | -1/+17 |
| |/ / / / | |||||
* | | | | | Merge pull request #9881 from timotheecour/pr_ref_9880 | Andreas Rumpf | 2018-12-11 | 3 | -9/+13 |
|\ \ \ \ \ | | | | | | | | | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors | ||||
| * | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors | Timothee Cour | 2018-12-09 | 3 | -9/+13 |
| | | | | | | |||||
* | | | | | | the linking step doesn't mind Windows' 8K command line limit anymore | Araq | 2018-12-11 | 1 | -28/+48 |
| | | | | | | |||||
* | | | | | | fixes extccomp regressions | Araq | 2018-12-11 | 1 | -2/+2 |
| | | | | | | |||||
* | | | | | | fixes extccomp regressions | Araq | 2018-12-11 | 1 | -2/+2 |
| | | | | | | |||||
* | | | | | | fixes extccomp regressions | Araq | 2018-12-11 | 1 | -5/+5 |
| | | | | | | |||||
* | | | | | | workaround against silly Windows command line length limitations for the ↵ | Araq | 2018-12-11 | 2 | -17/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | upcoming megatest.nim | ||||
* | | | | | | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -1/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #9929 from nc-x/fix-js-regression | Andreas Rumpf | 2018-12-11 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | tyProc does not require copying in JS codegen | ||||
| * | | | | | | tyProc does not require copying in JS codegen | Neelesh Chandola | 2018-12-11 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #9924 from cooldome/destructor_hotfix | Andreas Rumpf | 2018-12-11 | 1 | -1/+1 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | destructor hot fix | ||||
| * | | | | | | | destructor_hotfix | Andrii Riabushenko | 2018-12-10 | 1 | -1/+1 |
| | |_|_|/ / / | |/| | | | | | |||||
* | | | | | | | compiler refactoring: TSymSeq is gone for good | Araq | 2018-12-11 | 5 | -12/+11 |
| | | | | | | | |||||
* | | | | | | | fixes #9868 | Araq | 2018-12-11 | 2 | -2/+8 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #9909 from nc-x/fix-regression | Andreas Rumpf | 2018-12-11 | 1 | -0/+4 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Fix enum regression | ||||
| * | | | | | Better fix | Neelesh Chandola | 2018-12-11 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Float values are invalid in enum | Neelesh Chandola | 2018-12-09 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | Fix enum regression | Neelesh Chandola | 2018-12-09 | 1 | -0/+2 |
| |/ / / / | |||||
* | | | | | Merge pull request #9826 from cooldome/destructor_move_them_all | Andreas Rumpf | 2018-12-10 | 2 | -59/+120 |
|\ \ \ \ \ | |_|/ / / |/| | | | | destructors: sink`em all | ||||
| * | | | | minor correction | Andrii Riabushenko | 2018-12-10 | 1 | -2/+1 |
| | | | | | |||||
| * | | | | reduce changes | Andrii Riabushenko | 2018-12-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Remove not used code | Andrii Riabushenko | 2018-12-09 | 1 | -4/+1 |
| | | | | | |||||
| * | | | | remove not used code | Andrii Riabushenko | 2018-12-09 | 1 | -8/+0 |
| | | | | | |||||
| * | | | | use control flow graph for sink params | Andrii Riabushenko | 2018-12-09 | 2 | -41/+16 |
| | | | | | |||||
| * | | | | fix | Andrii Riabushenko | 2018-12-08 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Double sink checks | Andrii Riabushenko | 2018-12-08 | 1 | -7/+59 |
| | | | | | |||||
| * | | | | style improvements | Andrii Riabushenko | 2018-12-08 | 1 | -4/+3 |
| | | | | | |||||
| * | | | | remove dropbits in favour of destructive moves | Andrii Riabushenko | 2018-12-08 | 1 | -55/+16 |
| | | | | | |||||
| * | | | | improve test | Andrii Riabushenko | 2018-12-07 | 1 | -5/+9 |
| | | | | | |||||
| * | | | | more undo | Andrii Riabushenko | 2018-12-07 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | undo more stuff | Andrii Riabushenko | 2018-12-07 | 1 | -24/+37 |
| | | | | | |||||
| * | | | | undo more changes | Andrii Riabushenko | 2018-12-07 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | undo some changes | Andrii Riabushenko | 2018-12-07 | 3 | -2/+10 |
| | | | | |