summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
| |
* | fixes #11254Araq2019-08-121-0/+6
| |
* | fixes #11891Andreas Rumpf2019-08-101-0/+6
| |
* | fixes #11809Andreas Rumpf2019-08-081-0/+27
| |
* | Lock semchecked ast for macros (#11883) [bugfix]Arne Döring2019-08-084-6/+44
| | | | | | | | | | | | * reject to modify type checked AST * add flag to back out * Introduce legacy feature set.
* | Fix issue #10726 - HTTP response without Content-Length is not accessible ↵konradmb2019-08-081-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | (#11904) * Add patch by @xenogenesi * Async test for HTTP/1.1 without Content-Length * Apply suggestions from code review Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
* | Incremental compilation (IC): Improvements (#11881)Andreas Rumpf2019-08-082-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * IC: C codegen is aware of IC * manual: minor change to make VSCode's RST plugin render it properly * IC: minor refactoring * testament: code refactorings * rodutils: removed dead code * IC: always build the compiler with the IC feature * IC: C codegen improvements * IC: implement the undocumented -d:nimMustCache option for testing purposes * IC: added first basic tests * IC: extensive testing of the deserialization feature * testament: refactoring; better IC tests * IC: removes 'nimMustCache' flag; readonly does the same * testament: minor refactoring * update Nimble version * testament: removed dead code and imports; IC: added simple test * IC: progress
* | fixes #11807 (#11900)Andreas Rumpf2019-08-072-8/+14
| | | | | | | | | | * fixes #11807 * make tests green again
* | int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-074-37/+15
| | | | | | | | * fixes #11847
* | disallow static in return type (#9686) [nobackport]Arne Döring2019-08-061-0/+10
| |
* | set[T].len is an alias for set[T].card (#11885) [feature]Andy Davidoff2019-08-051-0/+4
| |
* | fixes #9829 (#11849)Arne Döring2019-08-041-0/+15
| |
* | tgetaddrinfo: disable ICMP tests for HaikuLeorize2019-08-041-1/+1
| | | | | | | | They're not supported by Haiku's getaddrinfo()
* | tgetaddrinfo: use sizeof() instead of hardcodingLeorize2019-08-041-3/+3
| | | | | | | | | | OS like Haiku have a bigger sockaddr_in struct for legacy(?) reasons. Using sizeof() should account for the different struct sizes.
* | Allow typeof(nil) as generic parameter (#11869)Oscar Nihlgård2019-08-031-2/+11
| |
* | VM exception fixes (#11868)Oscar Nihlgård2019-08-021-0/+14
| |
* | Fix VM conversion to var type [bugfix] (#11866)Oscar Nihlgård2019-08-011-0/+5
| |
* | fix #11854 (#11857)Arne Döring2019-07-301-1/+1
| |
* | fix #11812 (#11829)Arne Döring2019-07-271-0/+78
| | | | | | | | | | | | * fixes #11812 * fixes #10899 * fixes #11367
* | revert changesAndrii Riabushenko2019-07-252-24/+0
| |