Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make nimrtl.dll compile for the C++ target | Araq | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | proc does not take untyped/typed as argument (#9981) | Neelesh Chandola | 2018-12-19 | 1 | -0/+5 |
| | | | | | | * proc does not take untyped/typed as argument * Add TODO | ||||
* | much simpler implementation of constant tuple declarations | Andreas Rumpf | 2018-12-19 | 3 | -51/+30 |
| | |||||
* | Const tuple unpacking (#9964) | Neelesh Chandola | 2018-12-19 | 3 | -29/+74 |
| | | | | | | | | | | * tuple unpacking is now supported for consts * Move nkConstTuple to the end of TNodeKind * Add nnkConstTuple in macros.nim * Fix Formatting | ||||
* | Merge pull request #9959 from nc-x/better-error-message | Andreas Rumpf | 2018-12-19 | 1 | -2/+2 |
|\ | | | | | Better error messages in enums which don't have ordinal types | ||||
| * | Merge remote-tracking branch 'upstream/devel' into better-error-message | Neelesh Chandola | 2018-12-14 | 6 | -165/+33 |
| |\ | |||||
| * | | Better error messages in enums which don't have ordinal types | Neelesh Chandola | 2018-12-13 | 1 | -2/+2 |
| | | | |||||
* | | | Fixes #3060 and adds error checking for invalid else branches in object ↵ | Andreas Rumpf | 2018-12-19 | 2 | -17/+20 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants (#9957) * Fix semRecordCase * Fix ftpclient.nim * Check for ordinal type * Check tyRange for exhaustiveness | ||||
| * | | | Check tyRange for exhaustiveness | Neelesh Chandola | 2018-12-13 | 1 | -1/+1 |
| | | | | |||||
| * | | | Check for ordinal type | Neelesh Chandola | 2018-12-13 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'upstream/devel' into record-case | Neelesh Chandola | 2018-12-13 | 3 | -2/+16 |
| |\ \ \ | |||||
| * | | | | Fix semRecordCase | Neelesh Chandola | 2018-12-13 | 2 | -17/+20 |
| | |/ / | |/| | | |||||
* | | | | Add support for clang-cl (#9977) | Neelesh Chandola | 2018-12-19 | 2 | -2/+10 |
| | | | | |||||
* | | | | Nimsuggest now shows gotodef for y in `from x import y` (#10023) | Neelesh Chandola | 2018-12-18 | 1 | -0/+1 |
| | | | | |||||
* | | | | see what breaks with a global config.nims (#10016) | Andreas Rumpf | 2018-12-18 | 1 | -2/+4 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | * see what breaks with a global config.nims * make tests green with a global config.nims file | ||||
| * | | | | make tests green with a global config.nims file | Araq | 2018-12-17 | 1 | -2/+4 |
| | | | | | |||||
* | | | | | [pathutils] add AnyPath; add `$`; lift arbitrary API restrictions (#10021) | Timothee Cour | 2018-12-18 | 1 | -8/+11 |
| | | | | | |||||
* | | | | | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵ | Timothee Cour | 2018-12-18 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | add tests for vmops (#9925) | ||||
* | | | | | Merge pull request #10012 from nc-x/header-path | Andreas Rumpf | 2018-12-16 | 1 | -0/+2 |
|\ \ \ \ \ | |/ / / / |/| | | | | Add project directory to include path | ||||
| * | | | | escape the include path | Neelesh Chandola | 2018-12-16 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add project directory to include path | Neelesh Chandola | 2018-12-16 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | fixes #9120 | Araq | 2018-12-16 | 1 | -10/+0 |
| | | | | | |||||
* | | | | | fixes #9420 | Araq | 2018-12-16 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | fixes #8991, fixes #4446 | Araq | 2018-12-16 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | restore the old .nims processing behaviour; fixes #9989; fixes #9995 | Araq | 2018-12-16 | 1 | -6/+1 |
| | | | | | |||||
* | | | | | fixes #9991 | Araq | 2018-12-16 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #10003 from nc-x/fix-enum-internal-error | Andreas Rumpf | 2018-12-16 | 1 | -1/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix internal error when casting to invalid enum value | ||||
| * | | | | | Fix internal error when casting to invalid enum value | Neelesh Chandola | 2018-12-15 | 1 | -1/+3 |
| | | | | | | |||||
* | | | | | | Fixes #10005 | recloser | 2018-12-15 | 1 | -33/+16 |
| |/ / / / |/| | | | | |||||
* | | | | | fixes #9994 | Andreas Rumpf | 2018-12-15 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | fixes #9985 | Andreas Rumpf | 2018-12-15 | 1 | -0/+3 |
| | | | | |||||
* | | | | fixes #9995 | Andreas Rumpf | 2018-12-15 | 2 | -7/+5 |
| | | | | |||||
* | | | | --gc:destructors: baby steps | Andreas Rumpf | 2018-12-15 | 3 | -15/+22 |
| | | | | |||||
* | | | | better error message for 'proc' that is not intended to be used as a typeclass | Andreas Rumpf | 2018-12-15 | 1 | -4/+8 |
| | | | | |||||
* | | | | fixes #9982 | Andreas Rumpf | 2018-12-14 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes #9978 | Andreas Rumpf | 2018-12-14 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes yet another NimScript regression | Araq | 2018-12-14 | 1 | -0/+2 |
| | | | | |||||
* | | | | fixes #9965 | Araq | 2018-12-14 | 2 | -15/+94 |
| |_|/ |/| | | |||||
* | | | enum types can now be assigned values from enum with holes (#9958) | Neelesh Chandola | 2018-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * Fixes https://github.com/nim-lang/Nim/issues/9952 * Remove workaround from vccexe | ||||
* | | | os.nim: big refactoring, use the new pathnorm that was extracted by ↵ | Araq | 2018-12-13 | 1 | -161/+10 |
| | | | | | | | | | | | | compiler/pathutils.nim; added os.relativePath | ||||
* | | | Show lineinfo of for in yield (#9779) | Alexander Ivanov | 2018-12-13 | 1 | -0/+5 |
| |/ |/| | |||||
* | | 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 |
| | | | |