Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revert #12100; typeof(nil) is weird enough, don't allow it as the return type | Andreas Rumpf | 2019-09-02 | 1 | -3/+0 |
| | |||||
* | sink as lvalue (#12108) | Andreas Rumpf | 2019-09-02 | 1 | -0/+13 |
|\ | |||||
| * | sink as lvalue | Andrii Riabushenko | 2019-09-02 | 1 | -0/+13 |
| | | |||||
* | | fixes #12020 (#12106) | Andreas Rumpf | 2019-09-02 | 1 | -0/+19 |
| | | |||||
* | | weaking unsigned/signed indexing requirements in order to not break too much ↵ | Araq | 2019-09-02 | 1 | -0/+6 |
| | | | | | | | | existing code | ||||
* | | fix min/max for float numbers (#12068) | Arne Döring | 2019-09-02 | 1 | -1/+11 |
|/ | |||||
* | hashes: implement murmur3 (#12022) | Miran | 2019-09-01 | 1 | -3/+4 |
| | | | | | | | | * hashes: implement murmur3 * refactoring; there is only one murmurHash and it works at compile-time via VM hooks * fixes JS tests * makes toOpenArrayByte work with C++ * make it bootstrap in C++ mode for 0.20 | ||||
* | Fix int literals and range interaction (#11197) | Oscar Nihlgård | 2019-08-31 | 2 | -3/+10 |
| | | | | | | | | * Fix int literals and range interaction * Fix test * remove float range fix; update changelog | ||||
* | fixes #11903 (#11908) | Arne Döring | 2019-08-31 | 2 | -0/+35 |
| | |||||
* | Merge pull request #12099 from cooldome/destructor_too_late | Andreas Rumpf | 2019-08-31 | 1 | -0/+14 |
|\ | | | | | fixes #12092 | ||||
| * | fixes #12092 | Andrii Riabushenko | 2019-08-31 | 1 | -0/+14 |
| | | |||||
* | | Return typeof(nil) (#12100) | Andreas Rumpf | 2019-08-31 | 1 | -1/+4 |
|\ \ | | | | | | | | | | | | | | | | * Allow typeof(nil) as a return type * $typeof(nil) is now "typeof(nil)", not "nil" | ||||
| * | | Allow typeof(nil) as a return type | Albert Safin | 2019-08-31 | 1 | -1/+4 |
| |/ | |||||
* / | Support iterators returning lent T (#11938) | cooldome | 2019-08-31 | 1 | -0/+59 |
|/ | | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests | ||||
* | typeToString can now show (recursively) resolved type aliases; fixes #8569 ↵ | Timothee Cour | 2019-08-31 | 4 | -3/+32 |
| | | | | | | | | | | | #8083 #8570 (#11678) * nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests | ||||
* | Remove ENDB (#12095) | Clyybber | 2019-08-31 | 3 | -4/+0 |
| | |||||
* | make testament a tool we ship with Nim; fixes #12084 (#12088) | Andreas Rumpf | 2019-08-30 | 1 | -1/+1 |
| | | | | | | * make testament a tool we ship with Nim; fixes #12084 * moved config to fit * adapt testament tests to use the testament binary | ||||
* | fix #12037 (#12089) | Clyybber | 2019-08-30 | 1 | -0/+18 |
| | |||||
* | fixes #12042 (#12083) | Andreas Rumpf | 2019-08-29 | 1 | -0/+15 |
| | | | | | | * fixes #12042 * make tests green again | ||||
* | fixes 5870 (#11704) | Andreas Rumpf | 2019-08-29 | 1 | -0/+17 |
| | | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages | ||||
* | fixes #11941 (#12079) | Andreas Rumpf | 2019-08-29 | 1 | -0/+15 |
| | |||||
* | refactor sizealignoffset (#12077) | Andreas Rumpf | 2019-08-28 | 1 | -16/+37 |
| | | | | | | | | | | | | | | * small refactoring * refactor computeObjectOffsetFoldFunction with AccumObject * refactor packed object offstes fold function * refactor compute union object offsets fold function * merge normal/packed object offset fold function * compiletime offsetof in c++ inheritance objects * enable c++ inheritance offsetof tests * correct alignment for big sets/enums on weird 32bit platforms * uncomputedSize -> unknownSize * workaround for travis * fixes win32 alignment problems | ||||
* | lift destructor for openarray (#12073) | cooldome | 2019-08-28 | 1 | -1/+16 |
| | | | | * destroy for sink openarray | ||||
* | Fix several float range issues (supersedes #11905) (#12067) | Andreas Rumpf | 2019-08-27 | 1 | -0/+11 |
|\ | | | | | | | | | | | * Fix several float range issues * address the comments | ||||
| * | Fix several float range issues | Oscar Nihlgård | 2019-08-27 | 1 | -0/+11 |
| | | |||||
* | | Fix to int to biggest int (#12066) | Arne Döring | 2019-08-27 | 1 | -0/+15 |
| | | | | | | | | | | * fix to(Biggest)Int * kill toFloat magics as well | ||||
* | | fixes #12015 by also checking kind of `typeNode` (#12016) | Vindaar | 2019-08-27 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #12015 by also checking kind of `typeNode` If a tuple field is aliased it'll appear the same as a ref type in a call to `getType` if only for the kind of the resulting `NimNode` is checked (that is a `nnkBracketExpr`) * fix test case due to #12017 and add more realistic test case Adds an additional test case, which includes generics and is closer to the real failure I encountered * remove previous fix and fix differently after all The previous fix was incomplete, because it failed for generics. Note that the `of "tuple"` is not actually needed, the `nnkBracketExpr` branch in the `else` branch would catch it too, but I decided to introduce it for clarity. However, the latter is actually needed, because it seems for aliases of `seq` we end up in it. * update comment about global `%` proc in json test | ||||
* | | fixes #12029; finish the 'unused import' feature (#12064) | Andreas Rumpf | 2019-08-27 | 2 | -1/+4 |
|/ | |||||
* | fixes 9195 (#12055) | Andreas Rumpf | 2019-08-27 | 1 | -0/+24 |
| | |||||
* | fixes #12033 (#12039) | Arne Döring | 2019-08-26 | 1 | -2/+11 |
| | |||||
* | fixes #11832 (#12049) | Palash Nigam | 2019-08-26 | 1 | -2/+2 |
| | |||||
* | fixes #7258 (#12054) | Andreas Rumpf | 2019-08-26 | 1 | -0/+12 |
| | |||||
* | HCR: tests for the fixes for #11608 and #11996 (#12047) | Viktor Kirilov | 2019-08-26 | 2 | -0/+16 |
| | | | | | | * tests for #11996 and #11608 * removed unnecessary comment | ||||
* | fixes #11833 (#12018) | Andreas Rumpf | 2019-08-24 | 3 | -4/+11 |
| | |||||
* | fixes #11958 (#12013) | Andreas Rumpf | 2019-08-23 | 1 | -1/+35 |
| | |||||
* | new gensym handling (#11985) | Andreas Rumpf | 2019-08-23 | 4 | -74/+217 |
| | | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package | ||||
* | closes #7117 | Andreas Rumpf | 2019-08-22 | 1 | -2/+16 |
| | |||||
* | thavlak: code style changes | Andreas Rumpf | 2019-08-21 | 1 | -18/+20 |
| | |||||
* | Consider range type of runtime discrim [feature] (#11432) | Oscar Nihlgård | 2019-08-20 | 1 | -0/+47 |
| | |||||
* | fixes #11972 | Araq | 2019-08-20 | 1 | -1/+5 |
| | |||||
* | more enhancements for #11618 (#11976) | Andreas Rumpf | 2019-08-18 | 1 | -0/+27 |
| | | | | | | * finish the Windows IO layer changes; refs #11618 * added system.getOsFileHandle which is less error-prone on Windows * make tests green again | ||||
* | Implement isExported for symbols in macros (#11963) | nc-x | 2019-08-18 | 1 | -0/+10 |
| | | | | | | | | * Implement isExported for macros * Reimplement isExported using VM callback mechanism * VM does not support exceptions, use stacktrace() instead. | ||||
* | fixes #11618 (#11969) | Andreas Rumpf | 2019-08-17 | 1 | -1/+2 |
| | |||||
* | fixes #11872; include now gives a proper error message for all invalid infix ↵ | nc-x | 2019-08-17 | 1 | -0/+6 |
| | | | | operators (#11965) | ||||
* | Fixes #11118 (#11964) | Andreas Rumpf | 2019-08-17 | 1 | -0/+24 |
|\ | | | | | | | | | | | * fixes #11118 * Reset closure iter exception before rethrowing | ||||
| * | Merge branch 'cpp_reraise_fix' into yield-in-try-fix | Yuriy Glukhov | 2019-08-16 | 1 | -0/+24 |
| |\ | |||||
| | * | fixes #11118 | Andrii Riabushenko | 2019-04-30 | 1 | -0/+24 |
| | | | |||||
* | | | Remove duplicate line number from 'invalid forward declaration' error (#11966) | nc-x | 2019-08-17 | 1 | -1/+1 |
|/ / | |||||
* | | Fixes splitfile (#11918) [bugfix] | pgkos | 2019-08-15 | 1 | -0/+1 |
| | | |||||
* | | fixes #11942 (#11945) | Arne Döring | 2019-08-14 | 1 | -5/+5 |
| | |