Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | fixes #10791 | Andreas Rumpf | 2019-03-06 | 1 | -0/+3 |
| | |||||
* | special typing rules for owned pointers | Andreas Rumpf | 2019-03-04 | 1 | -0/+4 |
| | |||||
* | gc:destructors: progress | Andreas Rumpf | 2019-02-28 | 1 | -0/+1 |
| | |||||
* | Tuple unpacking now works for `for` vars (#10152) | Neelesh Chandola | 2019-02-23 | 1 | -16/+54 |
| | | | | | | | | * Tuple unpacking now works for `for` vars * Give error if length of tuple vars != length of tuple * Fix error message showing wrong tuple length * unpacking now works now for mutable items * Update changelog | ||||
* | first steps in implementing 'owned' pointers; undocumented, do not use | Andreas Rumpf | 2019-02-23 | 1 | -7/+7 |
| | |||||
* | error message for accidental use of macro (#10490) | Arne Döring | 2019-02-19 | 1 | -2/+9 |
| | | | | * error message for accidental use of macro | ||||
* | fixes #10702 (#10705) | Andreas Rumpf | 2019-02-18 | 1 | -19/+22 |
| | | | | | | * --define:nimQuirky exception handling for Nim; in preparation of a blog post * make it work with latest system.nim * make code more readable * fixes #10702 | ||||
* | Print missing case labels (#10600) | Arne Döring | 2019-02-09 | 1 | -0/+3 |
| | |||||
* | Avoid evaluating macros twice in type sections (#10550) | LemonBoy | 2019-02-06 | 1 | -0/+5 |
| | | | Fixes #10548 | ||||
* | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers | ||||
* | Harmonize the var/let and const handling (#10410) | LemonBoy | 2019-01-23 | 1 | -4/+14 |
| | | | Fixes #10333 |