summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Show field not initialized warning only when `notnil` used (#10155)Neelesh Chandola2019-01-011-1/+1
|
* Deprecate gc v2 (#10151)Neelesh Chandola2019-01-0111-20/+20
| | | | | | * Deprecate gc v2 * warnDeprecated now has custom messages
* fixes #10148 (#10149)cooldome2018-12-311-13/+18
| | | | | * fixes #10148 * fix a typo
* fix off by 1 error in `col` shown by toFileLineCol (#10138)Timothee Cour2018-12-311-1/+1
| | | | | * fix off by 1 error in `col` shown by toFileLineCol * fix test failures
* Check there are no side effects before optimizing away compile time ↵deech2018-12-312-8/+14
| | | | expressions. (#9934)
* Before showing deprecated warning, check whether enum field was marked ↵Neelesh Chandola2018-12-301-2/+2
| | | | deprecated or the whole enum type (#10135)
* Dead code elimination for entire modules and their init procs if empty (#10032)cooldome2018-12-303-92/+166
| | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom
* Show deprecation warning for fields of a deprecated enum (#10112)Neelesh Chandola2018-12-301-3/+8
| | | | | | * Show deprecation warning for fields of a deprecated enum * Add test
* Deprecated pragma is now supported on enum fields (#10113)Neelesh Chandola2018-12-303-12/+31
| | | | | | * {.deprecated.} pragma is now supported for enum fields * Add tests * Simplify code
* fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 ↵Timothee Cour2018-12-301-2/+3
| | | | | | | (#10131) * fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test
* Support undefined in isNil (#9960)Alexander Ivanov2018-12-301-3/+4
|
* fixes #10082Andreas Rumpf2018-12-301-25/+11
|
* {.push raises: [].} is now ignored for vars/lets/consts (#10026)Neelesh Chandola2018-12-301-6/+13
|
* nim dump: add nimcache entry (#10122)Timothee Cour2018-12-301-0/+1
|
* `nim c` now allows: when defined(c) (#10130)Timothee Cour2018-12-301-0/+1
|
* revives: Move typetraits.`$` to system. Fixes #5827 (#10071)Timothee Cour2018-12-301-1/+1
| | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments
* fixes #10101 (#10103)Timothee Cour2018-12-271-1/+1
|
* Pragma syntax is now consistent (#9993)Neelesh Chandola2018-12-271-3/+34
| | | | | | | | | | * Give deprecation warning when type pragmas do not follow the type name * pragma before generic parameter list in type definition is now deprecated * Update changelog * Fix bug where deprecated warning was being shown even though no generic param list was present * Fix bug * Use errGenerated * Best attempt at writing the grammar
* Fix const tuple unpacking not working for variables > 2 (#10099)Neelesh Chandola2018-12-271-1/+1
|
* fixes nim-lang/nimsuggest#76 (#10093)alaviss2018-12-251-1/+11
| | | | | | | | * nimsuggest: prevent out-of-bound access * fixes nim-lang/nimsuggest#76 * undo tester changes
* fixes #10024Araq2018-12-221-1/+1
|
* fixes #10033 [backport]Araq2018-12-221-2/+2
|
* C++ tests: make DLL test greenAraq2018-12-211-1/+7
|
* C++: make async tests green on WindowsAraq2018-12-211-5/+5
|
* fix #9933 (#10067)Timothee Cour2018-12-211-0/+2
|
* fixes #10058 [backport]Araq2018-12-211-2/+3
|
* use anon structs and unions for a much better debug experience (#10055)Andreas Rumpf2018-12-201-16/+9
|
* Make copies for params which are captured in closures. Fixes #7048 (#10050)rec2018-12-201-1/+19
| | | | | * Copy params which are captured in closures. Fixes #7048 * Forgot to emit a newline; minor adjustments to the test
* 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
| | | | |