Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -33/+33 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | Merge pull request #12099 from cooldome/destructor_too_late | Andreas Rumpf | 2019-08-31 | 1 | -2/+6 |
|\ | | | | | fixes #12092 | ||||
| * | support forward declared destructors | Andrii Riabushenko | 2019-08-31 | 1 | -2/+6 |
| | | |||||
| * | fixes #12092 | Andrii Riabushenko | 2019-08-31 | 1 | -2/+2 |
| | | |||||
* | | Support iterators returning lent T (#11938) | cooldome | 2019-08-31 | 1 | -16/+43 |
|/ | | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests | ||||
* | fixes #12042 (#12083) | Andreas Rumpf | 2019-08-29 | 1 | -1/+1 |
| | | | | | | * fixes #12042 * make tests green again | ||||
* | fixes 5870 (#11704) | Andreas Rumpf | 2019-08-29 | 1 | -1/+1 |
| | | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages | ||||
* | address the comments | narimiran | 2019-08-27 | 1 | -2/+1 |
| | |||||
* | Fix several float range issues | Oscar Nihlgård | 2019-08-27 | 1 | -0/+3 |
| | |||||
* | fixes #12033 (#12039) | Arne Döring | 2019-08-26 | 1 | -0/+4 |
| | |||||
* | fixes #11872; include now gives a proper error message for all invalid infix ↵ | nc-x | 2019-08-17 | 1 | -0/+2 |
| | | | | operators (#11965) | ||||
* | [refactoring] compiler: simplified markUsed | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | revert changes | Andrii Riabushenko | 2019-07-25 | 1 | -6/+6 |
| | |||||
* | fixes #11826 | Andrii Riabushenko | 2019-07-25 | 1 | -6/+6 |
| | |||||
* | [feature] detect unused imports | Araq | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -9/+9 |
| | |||||
* | fixes linter regressions | Araq | 2019-07-10 | 1 | -0/+1 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -5/+5 |
| | | | | --styleCheck:error | ||||
* | improved the error message for #11494; closes #11494 | Andreas Rumpf | 2019-07-06 | 1 | -2/+2 |
| | |||||
* | introduce internal Int128 type, use it to fix case stmt checks (#11652) | Arne Döring | 2019-07-05 | 1 | -1/+1 |
| | | | | | | * initial version of int128 * use int128 in case stmt * fixes #11552 | ||||
* | fixes #8405: -d:useNimRtl now works even when {.rtl.} procs are used at ↵ | Timothee Cour | 2019-07-03 | 1 | -9/+9 |
| | | | | compile time; CTFFI now works with {dynlib} (#11635) | ||||
* | [refactor] compiler/[msgs, reorder, semstmts]: use toMsgFilename where ↵ | alaviss | 2019-06-26 | 1 | -2/+2 |
| | | | | | | | | appropriate (#11595) * compiler/msgs: toMsgFilename now operates on FileIndex * compiler/reorder: use toMsgFilename for compiler messages * compiler/semstmts: respect listFullPaths for recursive deps error | ||||
* | [bugfix] fixes #11556 | Andreas Rumpf | 2019-06-21 | 1 | -2/+4 |
| | |||||
* | [refactoring] liftdestructors is now a module of its own | Araq | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | pass typedesc as NimNode to macros (#11400) | Arne Döring | 2019-06-05 | 1 | -5/+1 |
| | | | | | | | | * change typedesc's design in macros * Manual and changelog entry. * add link to RFC | ||||
* | fixes #6777 (#11347) | Andreas Rumpf | 2019-05-28 | 1 | -2/+1 |
| | |||||
* | Smarter variant object construction (#11273) | Jasper Jenkins | 2019-05-26 | 1 | -0/+3 |
| | |||||
* | fixes #10038; deprecate generic methods, they are unreliable | Andreas Rumpf | 2019-05-25 | 1 | -2/+3 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 1 | -10/+9 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | More specific error message for unsupported recursion in iterators (#11283) | Ico Doornekamp | 2019-05-20 | 1 | -0/+1 |
| | |||||
* | fix for return in macro (#9666); fixes #5874 | Arne Döring | 2019-05-20 | 1 | -1/+9 |
| | |||||
* | range/case fixes (#11264) | Jasper Jenkins | 2019-05-16 | 1 | -3/+7 |
| | |||||
* | Iterator fixes (#11234) | Jasper Jenkins | 2019-05-13 | 1 | -13/+24 |
| | |||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -6/+6 |
| | |||||
* | Merge pull request #11159 from JasperJenkins/const-named-tuple-unpack | Andreas Rumpf | 2019-05-08 | 1 | -1/+2 |
|\ | | | | | Const named tuple unpacking | ||||
| * | handle in semConst | Jasper Jenkins | 2019-05-05 | 1 | -1/+2 |
| | | |||||
* | | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -5/+5 |
| | | |||||
* | | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -16/+16 |
|/ | |||||
* | discard type is an error, fixes #7470 (#11146) | Jasper Jenkins | 2019-05-01 | 1 | -1/+1 |
| | |||||
* | added system.unown to make 'owned' sane to use in practice; later on we ↵ | Araq | 2019-04-29 | 1 | -4/+8 |
| | | | | might change the type inference rules to make it more convenient | ||||
* | revert discardable transformation (#10905) | Andreas Rumpf | 2019-04-21 | 1 | -14/+10 |
| | | | | | | | | | | * Revert "Properly wrap discarded statements (#10322)" This reverts commit 15584879b91e14565156ca140eef1dc100cf34c4. * add test for implicit discard after defer * enable t10241 again * make C++ tests green again | ||||
* | destructors: internal compiler refactoring | Araq | 2019-04-18 | 1 | -7/+7 |
| | |||||
* | remove shadow warning, fixes #10732 (#11039) | Miran | 2019-04-17 | 1 | -16/+4 |
| | |||||
* | sem'check understands 'owned procs' | Araq | 2019-04-11 | 1 | -1/+6 |
| | |||||
* | Fix astdef typ deref (#10245) | Alexander Ivanov | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | fixes destructor tuple regression #10940 (#10941) | cooldome | 2019-04-04 | 1 | -1/+1 |
| | | | | | | | | * fixes #10940 * bug fixes * fix spacing | ||||
* | Pure ref object; fixes #10721 (#10955) | Arne Döring | 2019-04-04 | 1 | -0/+2 |
| | |||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -14/+20 |
| | | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures | ||||
* | mark user defined destructors with sfOverriden to simplify the logic | Andreas Rumpf | 2019-03-19 | 1 | -0/+3 |
| | |||||
* | rename: semasgn -> liftdestructors | Andreas Rumpf | 2019-03-14 | 1 | -1/+1 |
| |