summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* make nimrtl.dll compile for the C++ targetAraq2018-12-191-1/+1
|
* proc does not take untyped/typed as argument (#9981)Neelesh Chandola2018-12-191-0/+5
| | | | | | * proc does not take untyped/typed as argument * Add TODO
* much simpler implementation of constant tuple declarationsAndreas Rumpf2018-12-193-51/+30
|
* Const tuple unpacking (#9964)Neelesh Chandola2018-12-193-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-messageAndreas Rumpf2018-12-191-2/+2
|\ | | | | Better error messages in enums which don't have ordinal types
| * Merge remote-tracking branch 'upstream/devel' into better-error-messageNeelesh Chandola2018-12-146-165/+33
| |\
| * | Better error messages in enums which don't have ordinal typesNeelesh Chandola2018-12-131-2/+2
| | |
* | | Fixes #3060 and adds error checking for invalid else branches in object ↵Andreas Rumpf2018-12-192-17/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants (#9957) * Fix semRecordCase * Fix ftpclient.nim * Check for ordinal type * Check tyRange for exhaustiveness
| * | | Check tyRange for exhaustivenessNeelesh Chandola2018-12-131-1/+1
| | | |
| * | | Check for ordinal typeNeelesh Chandola2018-12-131-2/+2
| | | |
| * | | Merge remote-tracking branch 'upstream/devel' into record-caseNeelesh Chandola2018-12-133-2/+16
| |\ \ \
| * | | | Fix semRecordCaseNeelesh Chandola2018-12-132-17/+20
| | |/ / | |/| |
* | | | Add support for clang-cl (#9977)Neelesh Chandola2018-12-192-2/+10
| | | |
* | | | Nimsuggest now shows gotodef for y in `from x import y` (#10023)Neelesh Chandola2018-12-181-0/+1
| | | |
* | | | see what breaks with a global config.nims (#10016)Andreas Rumpf2018-12-181-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 fileAraq2018-12-171-2/+4
| | | | |
* | | | | [pathutils] add AnyPath; add `$`; lift arbitrary API restrictions (#10021)Timothee Cour2018-12-181-8/+11
| | | | |
* | | | | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵Timothee Cour2018-12-181-1/+4
| | | | | | | | | | | | | | | | | | | | add tests for vmops (#9925)
* | | | | Merge pull request #10012 from nc-x/header-pathAndreas Rumpf2018-12-161-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | Add project directory to include path
| * | | | escape the include pathNeelesh Chandola2018-12-161-1/+1
| | | | |
| * | | | Add project directory to include pathNeelesh Chandola2018-12-161-0/+2
| | | | |
* | | | | fixes #9120Araq2018-12-161-10/+0
| | | | |
* | | | | fixes #9420Araq2018-12-161-1/+1
| | | | |
* | | | | fixes #8991, fixes #4446Araq2018-12-161-1/+1
| | | | |
* | | | | restore the old .nims processing behaviour; fixes #9989; fixes #9995Araq2018-12-161-6/+1
| | | | |
* | | | | fixes #9991Araq2018-12-161-1/+1
| | | | |
* | | | | Merge pull request #10003 from nc-x/fix-enum-internal-errorAndreas Rumpf2018-12-161-1/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix internal error when casting to invalid enum value
| * | | | | Fix internal error when casting to invalid enum valueNeelesh Chandola2018-12-151-1/+3
| | | | | |
* | | | | | Fixes #10005recloser2018-12-151-33/+16
| |/ / / / |/| | | |
* | | | | fixes #9994Andreas Rumpf2018-12-151-2/+2
|/ / / /
* | | | fixes #9985Andreas Rumpf2018-12-151-0/+3
| | | |
* | | | fixes #9995Andreas Rumpf2018-12-152-7/+5
| | | |
* | | | --gc:destructors: baby stepsAndreas Rumpf2018-12-153-15/+22
| | | |
* | | | better error message for 'proc' that is not intended to be used as a typeclassAndreas Rumpf2018-12-151-4/+8
| | | |
* | | | fixes #9982Andreas Rumpf2018-12-141-1/+1
| | | |
* | | | fixes #9978Andreas Rumpf2018-12-141-1/+1
| | | |
* | | | fixes yet another NimScript regressionAraq2018-12-141-0/+2
| | | |
* | | | fixes #9965Araq2018-12-142-15/+94
| |_|/ |/| |
* | | enum types can now be assigned values from enum with holes (#9958)Neelesh Chandola2018-12-131-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 ↵Araq2018-12-131-161/+10
| | | | | | | | | | | | compiler/pathutils.nim; added os.relativePath
* | | Show lineinfo of for in yield (#9779)Alexander Ivanov2018-12-131-0/+5
| |/ |/|
* | 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
| | | |