summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Give error when case has an else branch even though all cases are already ↵Neelesh Chandola2018-12-131-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 Chandola2018-12-131-0/+12
| | | | | | | | [backport] * Undefine some symbols when processing nimscript * Undefine taintMode when processing nimscript * Reload .cfg configuration
* Fix nimsuggest build with clang on windowsNeelesh Chandola2018-12-131-1/+1
|
* Merge pull request #8748 from LemonBoy/when-in-objectsAndreas Rumpf2018-12-121-0/+40
|\ | | | | Pervasive replacement of nkRecWhen in generic types
| * Pervasive replacement of nkRecWhen in generic typesLemonBoy2018-10-191-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 conflictsAraq2018-12-121-1/+1
|\ \
| * | Removed arch option in compiler definitionFredrik Høisæther Rasch2017-03-211-1/+1
| | | | | | | | | | | | Previous Artifiact, changed to better reflect the settings in the default nim.cfg
* | | Merge pull request #9937 from cooldome/pragmablock_custom_pragmaAndreas Rumpf2018-12-122-9/+7
|\ \ \ | | | | | | | | Language feature: implement custom pragmas in pragma blocks
| * | | custom pragmas in pragma blocksAndrii Riabushenko2018-12-112-9/+7
| | | |
* | | | minor cleanupsAndreas Rumpf2018-12-111-7/+6
| | | |
* | | | Merge pull request #9916 from timotheecour/pr_ref_9906_errorMaxAndreas Rumpf2018-12-111-0/+9
|\ \ \ \ | | | | | | | | | | refs #9906; --errorMax:10 allows stopping after 10 errors (more robust than nim check)
| * | | | --errorMax:0 means: unlimitedTimothee Cour2018-12-091-3/+7
| | | | |
| * | | | refs #9906; --errorMax:10 allows stopping after 10 errorsTimothee Cour2018-12-091-0/+5
| | | | |
* | | | | cleanup main.nim's code styleAndreas Rumpf2018-12-111-14/+10
| | | | |
* | | | | destructors: defensive programming against wrong generated destructor for ↵Andreas Rumpf2018-12-112-6/+10
| | | | | | | | | | | | | | | | | | | | string/seq
* | | | | Merge pull request #9917 from timotheecour/pr_dump_msgAndreas Rumpf2018-12-111-1/+17
|\ \ \ \ \ | | | | | | | | | | | | enhance `dump --dump.format:json` : report `out`, `hints`, `warnings`, document it ; closes #9513
| * | | | | enhance `dump --dump.format:json`Timothee Cour2018-12-091-1/+17
| |/ / / /
* | | | | Merge pull request #9881 from timotheecour/pr_ref_9880Andreas Rumpf2018-12-113-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` errorsTimothee Cour2018-12-093-9/+13
| | | | | |
* | | | | | the linking step doesn't mind Windows' 8K command line limit anymoreAraq2018-12-111-28/+48
| | | | | |
* | | | | | fixes extccomp regressionsAraq2018-12-111-2/+2
| | | | | |
* | | | | | fixes extccomp regressionsAraq2018-12-111-2/+2
| | | | | |
* | | | | | fixes extccomp regressionsAraq2018-12-111-5/+5
| | | | | |
* | | | | | workaround against silly Windows command line length limitations for the ↵Araq2018-12-112-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | upcoming megatest.nim
* | | | | | megatest can be executedArne Döring2018-12-111-1/+2
| | | | | |
* | | | | | Merge pull request #9929 from nc-x/fix-js-regressionAndreas Rumpf2018-12-111-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | tyProc does not require copying in JS codegen
| * | | | | | tyProc does not require copying in JS codegenNeelesh Chandola2018-12-111-1/+1
| | | | | | |
* | | | | | | Merge pull request #9924 from cooldome/destructor_hotfixAndreas Rumpf2018-12-111-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | destructor hot fix
| * | | | | | | destructor_hotfixAndrii Riabushenko2018-12-101-1/+1
| | |_|_|/ / / | |/| | | | |
* | | | | | | compiler refactoring: TSymSeq is gone for goodAraq2018-12-115-12/+11
| | | | | | |
* | | | | | | fixes #9868Araq2018-12-112-2/+8
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #9909 from nc-x/fix-regressionAndreas Rumpf2018-12-111-0/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix enum regression
| * | | | | Better fixNeelesh Chandola2018-12-111-2/+2
| | | | | |
| * | | | | Float values are invalid in enumNeelesh Chandola2018-12-091-0/+2
| | | | | |
| * | | | | Fix enum regressionNeelesh Chandola2018-12-091-0/+2
| |/ / / /
* | | | | Merge pull request #9826 from cooldome/destructor_move_them_allAndreas Rumpf2018-12-102-59/+120
|\ \ \ \ \ | |_|/ / / |/| | | | destructors: sink`em all
| * | | | minor correctionAndrii Riabushenko2018-12-101-2/+1
| | | | |
| * | | | reduce changesAndrii Riabushenko2018-12-091-1/+1
| | | | |
| * | | | Remove not used codeAndrii Riabushenko2018-12-091-4/+1
| | | | |
| * | | | remove not used codeAndrii Riabushenko2018-12-091-8/+0
| | | | |
| * | | | use control flow graph for sink paramsAndrii Riabushenko2018-12-092-41/+16
| | | | |
| * | | | fixAndrii Riabushenko2018-12-081-0/+1
| | | | |
| * | | | Double sink checksAndrii Riabushenko2018-12-081-7/+59
| | | | |
| * | | | style improvementsAndrii Riabushenko2018-12-081-4/+3
| | | | |
| * | | | remove dropbits in favour of destructive movesAndrii Riabushenko2018-12-081-55/+16
| | | | |
| * | | | improve testAndrii Riabushenko2018-12-071-5/+9
| | | | |
| * | | | more undoAndrii Riabushenko2018-12-071-1/+1
| | | | |
| * | | | undo more stuffAndrii Riabushenko2018-12-071-24/+37
| | | | |
| * | | | undo more changesAndrii Riabushenko2018-12-071-0/+1
| | | | |
| * | | | undo some changesAndrii Riabushenko2018-12-073-2/+10
| | | | |