summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* make test greenAraq2019-09-021-38/+48
|
* Merge branch 'devel' into uint-range-checksAraq2019-09-0241-134/+705
|\
| * hashes: implement murmur3 (#12022)Miran2019-09-011-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ård2019-08-312-3/+10
| | | | | | | | | | | | | | | | * Fix int literals and range interaction * Fix test * remove float range fix; update changelog
| * fixes #11903 (#11908)Arne Döring2019-08-312-0/+35
| |
| * Merge pull request #12099 from cooldome/destructor_too_lateAndreas Rumpf2019-08-311-0/+14
| |\ | | | | | | fixes #12092
| | * fixes #12092Andrii Riabushenko2019-08-311-0/+14
| | |
| * | Return typeof(nil) (#12100)Andreas Rumpf2019-08-311-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | * Allow typeof(nil) as a return type * $typeof(nil) is now "typeof(nil)", not "nil"
| | * | Allow typeof(nil) as a return typeAlbert Safin2019-08-311-1/+4
| | |/
| * / Support iterators returning lent T (#11938)cooldome2019-08-311-0/+59
| |/ | | | | | | | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests
| * typeToString can now show (recursively) resolved type aliases; fixes #8569 ↵Timothee Cour2019-08-314-3/+32
| | | | | | | | | | | | | | | | | | | | | | #8083 #8570 (#11678) * nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests
| * Remove ENDB (#12095)Clyybber2019-08-313-4/+0
| |
| * make testament a tool we ship with Nim; fixes #12084 (#12088)Andreas Rumpf2019-08-301-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)Clyybber2019-08-301-0/+18
| |
| * fixes #12042 (#12083)Andreas Rumpf2019-08-291-0/+15
| | | | | | | | | | | | * fixes #12042 * make tests green again
| * fixes 5870 (#11704)Andreas Rumpf2019-08-291-0/+17
| | | | | | | | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages
| * fixes #11941 (#12079)Andreas Rumpf2019-08-291-0/+15
| |
| * refactor sizealignoffset (#12077)Andreas Rumpf2019-08-281-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)cooldome2019-08-281-1/+16
| | | | | | | | * destroy for sink openarray
| * Fix several float range issues (supersedes #11905) (#12067)Andreas Rumpf2019-08-271-0/+11
| |\ | | | | | | | | | | | | | | | * Fix several float range issues * address the comments
| | * Fix several float range issuesOscar Nihlgård2019-08-271-0/+11
| | |
| * | Fix to int to biggest int (#12066)Arne Döring2019-08-271-0/+15
| | | | | | | | | | | | | | | * fix to(Biggest)Int * kill toFloat magics as well
| * | fixes #12015 by also checking kind of `typeNode` (#12016)Vindaar2019-08-271-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 Rumpf2019-08-272-1/+4
| |/
| * fixes 9195 (#12055)Andreas Rumpf2019-08-271-0/+24
| |
| * fixes #12033 (#12039)Arne Döring2019-08-261-2/+11
| |
| * fixes #11832 (#12049)Palash Nigam2019-08-261-2/+2
| |
| * fixes #7258 (#12054)Andreas Rumpf2019-08-261-0/+12
| |
| * HCR: tests for the fixes for #11608 and #11996 (#12047)Viktor Kirilov2019-08-262-0/+16
| | | | | | | | | | | | * tests for #11996 and #11608 * removed unnecessary comment
| * fixes #11833 (#12018)Andreas Rumpf2019-08-243-4/+11
| |
| * fixes #11958 (#12013)Andreas Rumpf2019-08-231-1/+35
| |
| * new gensym handling (#11985)Andreas Rumpf2019-08-234-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 #7117Andreas Rumpf2019-08-221-2/+16
| |
| * thavlak: code style changesAndreas Rumpf2019-08-211-18/+20
| |
* | renamed and moved testAraq2019-09-021-0/+0
| |
* | squashed and merged with develArne Döring2019-08-212-0/+43
|/
* Consider range type of runtime discrim [feature] (#11432)Oscar Nihlgård2019-08-201-0/+47
|
* fixes #11972Araq2019-08-201-1/+5
|
* more enhancements for #11618 (#11976)Andreas Rumpf2019-08-181-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-x2019-08-181-0/+10
| | | | | | | | * Implement isExported for macros * Reimplement isExported using VM callback mechanism * VM does not support exceptions, use stacktrace() instead.
* fixes #11618 (#11969)Andreas Rumpf2019-08-171-1/+2
|
* fixes #11872; include now gives a proper error message for all invalid infix ↵nc-x2019-08-171-0/+6
| | | | operators (#11965)
* Fixes #11118 (#11964)Andreas Rumpf2019-08-171-0/+24
|\ | | | | | | | | | | * fixes #11118 * Reset closure iter exception before rethrowing
| * Merge branch 'cpp_reraise_fix' into yield-in-try-fixYuriy Glukhov2019-08-161-0/+24
| |\
| | * fixes #11118Andrii Riabushenko2019-04-301-0/+24
| | |
* | | Remove duplicate line number from 'invalid forward declaration' error (#11966)nc-x2019-08-171-1/+1
|/ /
* | Fixes splitfile (#11918) [bugfix]pgkos2019-08-151-0/+1
| |
* | fixes #11942 (#11945)Arne Döring2019-08-141-5/+5
| |
* | fixes #11844 (#11935)Andreas Rumpf2019-08-131-1/+1
| |
* | fixes #10689Araq2019-08-121-0/+17
| |