Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | fixes #11844 (#11935) | Andreas Rumpf | 2019-08-13 | 1 | -1/+1 |
| | | |||||
* | | fixes #10689 | Araq | 2019-08-12 | 1 | -0/+17 |
| | | |||||
* | | fixes #11254 | Araq | 2019-08-12 | 1 | -0/+6 |
| | | |||||
* | | fixes #11891 | Andreas Rumpf | 2019-08-10 | 1 | -0/+6 |
| | | |||||
* | | fixes #11809 | Andreas Rumpf | 2019-08-08 | 1 | -0/+27 |
| | | |||||
* | | Lock semchecked ast for macros (#11883) [bugfix] | Arne Döring | 2019-08-08 | 4 | -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 ↵ | konradmb | 2019-08-08 | 1 | -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 Rumpf | 2019-08-08 | 2 | -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 Rumpf | 2019-08-07 | 2 | -8/+14 |
| | | | | | | | | | | * fixes #11807 * make tests green again | ||||
* | | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 4 | -37/+15 |
| | | | | | | | | * fixes #11847 | ||||
* | | disallow static in return type (#9686) [nobackport] | Arne Döring | 2019-08-06 | 1 | -0/+10 |
| | | |||||
* | | set[T].len is an alias for set[T].card (#11885) [feature] | Andy Davidoff | 2019-08-05 | 1 | -0/+4 |
| | | |||||
* | | fixes #9829 (#11849) | Arne Döring | 2019-08-04 | 1 | -0/+15 |
| | | |||||
* | | tgetaddrinfo: disable ICMP tests for Haiku | Leorize | 2019-08-04 | 1 | -1/+1 |
| | | | | | | | | They're not supported by Haiku's getaddrinfo() | ||||
* | | tgetaddrinfo: use sizeof() instead of hardcoding | Leorize | 2019-08-04 | 1 | -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ård | 2019-08-03 | 1 | -2/+11 |
| | | |||||
* | | VM exception fixes (#11868) | Oscar Nihlgård | 2019-08-02 | 1 | -0/+14 |
| | | |||||
* | | Fix VM conversion to var type [bugfix] (#11866) | Oscar Nihlgård | 2019-08-01 | 1 | -0/+5 |
| | | |||||
* | | fix #11854 (#11857) | Arne Döring | 2019-07-30 | 1 | -1/+1 |
| | | |||||
* | | fix #11812 (#11829) | Arne Döring | 2019-07-27 | 1 | -0/+78 |
| | | | | | | | | | | | | * fixes #11812 * fixes #10899 * fixes #11367 | ||||
* | | revert changes | Andrii Riabushenko | 2019-07-25 | 2 | -24/+0 |
| | | |||||
* | | add test | Andrii Riabushenko | 2019-07-25 | 2 | -0/+24 |
| | | |||||
* | | close #11166 by adding a test | narimiran | 2019-07-25 | 1 | -0/+4 |
| | | |||||
* | | close #9891 by adding a test | narimiran | 2019-07-25 | 2 | -0/+19 |
| | | |||||
* | | run runnableExamples in the module scope (#11732) [feature] | Timothee Cour | 2019-07-22 | 1 | -0/+60 |
| | | |||||
* | | fixes #11792 (#11793) | cooldome | 2019-07-21 | 1 | -0/+30 |
| | |