summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fixes #17437 - crash where error reporting > 1 (#17547)Saem Ghani2021-03-291-0/+22
| | | | | | | | | | | * fixes #17437 * Fix bug reference comment Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * [skip ci] describe why we have hasError Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* fix #14010(fix std/registry + arc) (#17551)flywind2021-03-291-0/+15
| | | | | | | | | | | | | * fix nim js cmp fails at CT * fix #14010 * Update tests/stdlib/tregistry.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tregistry.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* close #9622 add testcase (#17557)flywind2021-03-291-0/+30
| | | | | * fix nim js cmp fails at CT * close #9622 add testcase
* Add a getter for all defined Sections in parsecfg (#15450)Ardek Romak2021-03-281-14/+9
|
* add testcase for #9466 (#17538)flywind2021-03-281-0/+28
|
* followup custom literals (#17500)Timothee Cour2021-03-273-18/+80
|
* close #5792 with testcase (#17536)flywind2021-03-271-0/+17
|
* close #7012 add testcase (#17537)flywind2021-03-271-0/+7
|
* nnkArglist => nnkArgList + special case stylecheck:error (#17529)Timothee Cour2021-03-273-4/+4
| | | | | * nnkArglist => nnkArgList * special case stylecheck:error
* fix flaky tnetconnect which sometimes failed with: No route to host ↵Timothee Cour2021-03-271-2/+3
| | | | [OSError] (#17526)
* close #17157 add testcase (#17531)flywind2021-03-271-0/+6
|
* Fix #17199 (#17348)Clyybber2021-03-262-15/+59
| | | | | | | | | | | | | | | | | | | | | | * don't zero out in a move in the VM * Add testcases for #17199 * Update tests/arc/tarcmisc.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tests/vm/tissues.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Fix test failures * Fix test * Fix tests Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* added a 'koch ic' command for easier adhoc testing of IC (#17508)Andreas Rumpf2021-03-261-1/+0
| | | | | | * added a 'koch ic' command for easier adhoc testing of IC * IC: progress * IC: enable generics test * make tests green
* close #15696 (#17518)flywind2021-03-251-0/+25
|
* fix RST parsing after option lists (#17442)Andrey Makarov2021-03-251-0/+49
|
* custom integer literals bugfixes (#17499)Andreas Rumpf2021-03-241-0/+3
| | | | | * custom integer literals bugfixes * make nimsuggest compile again
* custom integer literals (#17489)Andreas Rumpf2021-03-244-26/+160
| | | | | | | * user defined integer literals; refs #17020 * updated renderer.nim * use mlexerutils helper * imported all test cases from https://github.com/nim-lang/Nim/pull/17020 * final grammar updated
* fix #17260 render `\` properly in nim doc, rst2html (#17315)Timothee Cour2021-03-241-2/+20
|
* fix #17325 linux 32bit CI; fix #17085 flaky test (#17469)Timothee Cour2021-03-242-2/+13
|
* make unary minus part of number literals, refs #17020 (#17488)Andreas Rumpf2021-03-241-0/+76
| | | | * make unary minus part of number literals, refs #17020 * fixes regression
* [isolation]fix empty ref object bug (#17471)flywind2021-03-241-0/+8
| | | | | | | | | | | | | * fix nim js cmp fails at CT * [Minor]fix empty ref object for isolation * Update compiler/isolation_check.nim * Update compiler/isolation_check.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* follow up #17486 (#17492)flywind2021-03-241-0/+45
| | | | | | | | | * fix nim js cmp fails at CT * follow up #17486 * test more branches * better
* fix #17490 (#17491)flywind2021-03-241-0/+11
|
* Fixes #17450 (#17477)Clyybber2021-03-232-1/+26
| | | | | * Fixes #17450 * Add missing test output
* Revert "Fixes #17450 (#17474)" (#17476)Clyybber2021-03-232-26/+1
| | | This reverts commit 5f0c52048970cb7449937bd19191638c9e9f0c8f.
* Fixes #17450 (#17474)Clyybber2021-03-232-1/+26
| | | | | * Fixes #17450 * Add missing test output
* add algorithm.merge (#16182)flywind2021-03-231-1/+158
| | | | | | | | | * add merge to algorithm * Apply suggestions from code review * Update lib/pure/algorithm.nim * Apply suggestions from code review * Update changelog.md Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com>
* fix #17458 tnetconnect.nim flaky (#17459)Timothee Cour2021-03-231-12/+16
| | | | | * fix tests * fix #17458
* refs #17292 fix `repr` with `do:` (#17449)Timothee Cour2021-03-231-0/+80
| | | | | * refs #17292 fix `repr` with `do:` * address comment
* fix #17454 (#17461)Timothee Cour2021-03-231-1/+4
|
* refs #16338 make thttpclient_ssl_remotenetwork.nim less flaky (#17457)Timothee Cour2021-03-231-3/+14
|
* semTemplateDef and t17433 clean-ups (#17448)Saem Ghani2021-03-221-3/+3
| | | | | - use `doAssert` in t17433 - use setGenericParamsMisc in semTemplateDef akin to semProcAux - pragma handling in semTemplateDef inline with semProcAux
* Fixes #17433; gensym callDef return in templ body (#17445)Saem Ghani2021-03-221-0/+16
|
* Close #8545 by add a test case (#17432)konsumlamm2021-03-201-0/+23
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* IC: green tests (#17311)Andreas Rumpf2021-03-193-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * IC: renamed to_packed_ast module to ic module * IC: don't store the --forceBuild flag, makes it easier to test * IC: enable hello world test * Codegen: refactorings for IC; changed the name mangling algorithm * fixed the HCR regressions * life is too short for HCR * tconvexhull is now allowed to use deepCopy * IC exposed a stdlib bug, required a refactoring * codegen: code cleanups * IC: even if a module is outdated, its dependencies might come from disk * IC: progress * IC: better name mangling, module IDs are not stable * IC: another refactoring helping with --ic:on --gc:arc * disable arraymancer on Windows for the time being * disable arraymancer altogether * IC: make basic test work with 'nim cpp' * IC: progress on --ic:on --gc:arc * wip; name mangling for type info
* follow up #17391 add testcase (#17404)flywind2021-03-191-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "make system random work in VM" * fix #17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up #17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim
* adjust spellSuggestSecretSauce logic to avoid too many matches for small ↵Timothee Cour2021-03-182-2/+2
| | | | symbols (#17410)
* followup #17398: `getTempDir`, `getConfigDir` now do not have trailing ↵Timothee Cour2021-03-181-3/+3
| | | | | | | DirSep (#17402) * followup #17398: `getTempDir`, `getConfigDir` now do not have trailing DirSep * fix test
* Rst test check messages (fix #17280) (#17338)Andrey Makarov2021-03-171-75/+125
|
* semLambda removed, semProcAux reworked (#17379)Saem Ghani2021-03-175-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplified proc-like name ident to symbol code * wip - reworking generic param sem * wip - closer to removing nkEmpty generic params * it's hacky but tests pass * slowly tweaking semProcAux to take on semLambda * fix pragma superset check proto vs current * Set the symbol owner earlier * partial progress reworking proto found bug where default values between forward and impl lead to overload resolution issues. * simplified pragma handling and callConv checks Co-authored-by: Clyybber <Clyybber@users.noreply.github.com> * partially working * cgexprs issue * It works! * comment clean-up * clean-up asserts, comments, and other bits * add isGenericParams, inline isGeneric queries * seeing if this is sufficiently consistent * can use this approach or continue it in a further PR * commentary about nullary generics and clean-ups * fixed a mistake in PNode isGenericRoutine * Some small cleanups * Small cleanup * for func lambdas ensure we use lambda pragmas * add some basic compileTime func tests * [ci skip] remove comments Co-authored-by: Clyybber <Clyybber@users.noreply.github.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* allow short-style rst references with symbols (#17372)Andrey Makarov2021-03-171-0/+25
|
* [std/channels]fix recv leaks(Part One) (#17394)flywind2021-03-172-3/+3
|
* followup #16067 --spellSuggest (#17401)Timothee Cour2021-03-171-0/+1
| | | | | | | * followup #16067 --spellSuggest * enable --spellSuggest by default * fixup
* fix #17383: json.%,to and jsonutils.formJson,toJson now works with ↵Timothee Cour2021-03-162-1/+35
| | | | | | | uint|uint64 (#17389) [backport:1.2] * fix #17383: json.%,to and jsonutils.formJson,toJson now works with uint|uint64 * fixup * fix for js
* fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar ↵Timothee Cour2021-03-163-0/+97
| | | | | | | spellings on undefined symbol error (#16067) * add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors * implement --spellsuggest with 0 arguments
* fix #17385, `len` must be declared before `items` (#17386)Miran2021-03-152-0/+15
|
* Revert "make system random work in VM" (#17378)flywind2021-03-151-2/+0
|
* New channels implementation for ORC (#17305)flywind2021-03-122-0/+389
| | | | | | | * Update lib/std/channels.nim * Rename tchannel_pthread.nim to tchannels_pthread.nim * Rename tchannel_simple.nim to tchannels_simple.nim Co-authored-by: Mamy Ratsimbazafy <mamy_github@numforge.co>
* fix RST parsing when no indent after enum.item (fix #17249) (#17257)Andrey Makarov2021-03-121-0/+9
|
* Revert "Revert "close #16607 add testcase (#17317)" (#17336)" (#17347)Clyybber2021-03-121-0/+24
| | | This reverts commit 3ce27511adac12785b51ecc33dc9d2a2fcd2f0b8.