summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3329Araq2015-09-181-9/+17
|
* usage of NimNode triggers .compileTime context; fixes #1679Araq2015-09-141-0/+1
|
* first attempt to fix 'a[i]' handling in genericsAraq2015-09-121-0/+1
|
* fixes #1528Araq2015-09-101-1/+1
|
* toplevel .closure procs are deprecatedAraq2015-08-141-0/+3
|
* Fixes #3186Yuriy Glukhov2015-08-071-1/+1
|
* destructors now work with overloaded assignment operators; fixes #2811; ↵Araq2015-08-051-9/+11
| | | | fixes #1632
* implemented {.noforward:on.} for type sections; useful for c2nim generated ↵Araq2015-07-081-9/+59
| | | | wrappers; to be documented
* Introduce {.noRewrite.} expr pragma disabling TRAdam Strzelecki2015-06-021-0/+2
| | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab"
* cleanups for underscores in tuple unpackingAraq2015-04-241-8/+8
|
* Merge pull request #2437 from Araq/underscore-tuple-unpackAndreas Rumpf2015-04-241-1/+8
|\ | | | | Implements #2154.
| * Add sfGenSym for (_).Dominik Picheta2015-04-231-0/+2
| |
| * Merge branch 'devel' into underscore-tuple-unpackDominik Picheta2015-04-231-26/+85
| |\ | | | | | | | | | | | | Conflicts: compiler/semstmts.nim
| * | Rewrite in order to not introduce a new node kind.Dominik Picheta2015-04-051-1/+5
| | |
| * | Implements #2154.Dominik Picheta2015-03-311-1/+2
| | | | | | | | | | | | | | | When unpacking tuples in var/let declarations a part of the tuple can now be discarded using a single underscore.
* | | system.locals is now a plugin for educationAraq2015-04-241-4/+0
| |/ |/|
* | fixes #2508Araq2015-04-111-10/+10
| |
* | overloading of '=' worksAraq2015-04-061-2/+35
| |
* | first implementation of overloading of '='; missing: rewriting let/var sectionsAraq2015-04-061-7/+33
| |
* | don't store the scope for routinesAraq2015-04-041-7/+7
|/
* fixes #2420; negative indexing for slicing is obsolete (breaking change!)Araq2015-03-281-1/+1
|
* fixes #2400Araq2015-03-251-1/+4
|
* do not warn about gensym'd resultsSimon Hafner2015-03-111-1/+1
|
* fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be usedAraq2015-03-101-93/+93
|
* Merge pull request #2274 from reactormonk/warning-for-resultAndreas Rumpf2015-03-081-0/+3
|\ | | | | Warning for result
| * Merge branch 'devel' into warning-for-resultSimon Hafner2015-03-051-14/+30
| |\
| * | added a warning for when result is shadowed #868Simon Hafner2015-02-011-0/+3
| | |
* | | .n.isNil checks for tyTuple PTypes.Max Zerzouri2015-03-071-1/+1
| |/ |/|
* | some love for the testsuite; fixed regressionsAraq2015-03-011-1/+2
| |
* | reprocess pragmas after macro annotation for SqueakNimAraq2015-02-271-4/+10
| |
* | Fix typosFederico Ceratto2015-02-151-1/+1
| |
* | Fix typosFederico Ceratto2015-02-151-3/+3
| |
* | fixes #1131Araq2015-02-101-0/+4
| |
* | fixes #2073Araq2015-02-081-2/+2
| |
* | fixes #2057Araq2015-02-041-4/+9
|/
* nimsuggest improvementsAraq2015-01-301-2/+3
|
* non-destructible context only produces a warning for nowAraq2015-01-241-3/+3
|
* better error message for 'invalid type'Araq2015-01-231-3/+4
|
* fixes #1915Araq2015-01-121-1/+2
|
* fixes #1903Araq2015-01-111-1/+2
|
* fixes tconfusing_arrow bugAraq2015-01-101-1/+3
|
* support for static params in the user defined type classesZahary Karadjov2015-01-021-4/+8
|
* fixes #1774Araq2014-12-311-1/+2
|
* fixes #1120Araq2014-12-251-1/+4
|
* fixes #1742Araq2014-12-241-5/+9
|
* fixed typos so docgen works againAraq2014-12-201-0/+1
|
* extracted the fields iterator magic to its own fileAraq2014-12-121-147/+1
|
* destuctors are experimental; 'func' is now a keywordAraq2014-12-101-1/+4
|
* implements 'defer'Araq2014-12-041-4/+17
|
* user defined pragmas work for generics instantiated in different modulesAraq2014-11-061-1/+1
|