summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fix arc global variable issues" (#20764)ringabout2022-11-051-1/+1
| | | | | | | * Revert "fix arc global variable issues (#20759)" This reverts commit a3d32a4176539d0829a4e868f4b005a1a71eb7ee. * trigger documentation builds
* remove compiler/strutils2.nim (#20748)Bung2022-11-051-39/+0
| | | | | | | | | * use std strutils toLowerAscii char * avoid additional call and assign * remove compiler/strutils2.nim * canonical
* fix arc global variable issues (#20759)Bung2022-11-051-1/+1
| | | | | * temp * unsure
* fix posix.mq_receive compilation with cpp backend (#20710)n5m2022-11-051-1/+44
| | | | | | | | | | | | | | | | | * fix posix.mq_receive compilation with cpp backend * only enable runnableExample on posix * linux, not posix * simplify example * add test * mqueue.h does not exist on MacOS * place test case in own block * drop runnableExamples
* Support doc comments in new-styled concepts (#20752)konsumlamm2022-11-041-0/+3
| | | Support comments in new-styled concepts
* Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738)Bung2022-11-041-0/+11
| | | | | | * add test case * refactoring transformAddrDeref and fix #18079 * fix jsgen
* revert #20719; relieve `std/assertions` of the `sysFatal` dep (#20743)ringabout2022-11-042-5/+6
| | | | | | | * Revert "make `system/fatal` importable (#20718)" This reverts commit d735c447d35948ef6fda8270d1665cbd66c4636a. * relieve `std/assertions` of the sysFatal dep
* add a testcase for laxeffects (#20750)ringabout2022-11-041-0/+11
|
* fixes #15688; handle `strongSpace` overflow issues (#20724)ringabout2022-11-031-0/+2
| | | | | | | * fixes #15688; handle `strongSpace` overflow issues * stop at 1 * change the type of strongSpaceA to bool
* fixes #20740; fixes pre-existing field visibility issues and removes ↵ringabout2022-11-031-1/+21
| | | | | `efSkipFieldVisibilityCheck` (#20741) fixes #20740 pre-existing field visibility and refactoring
* closes #13618; add testcase (#20734)ringabout2022-11-021-0/+6
|
* closes #14216; add testcase (#20733)ringabout2022-11-021-0/+39
|
* closes #16331; add testcase (#20730)ringabout2022-11-021-0/+12
|
* fix semcase on tySequence and tyObject #20283 #19682 (#20339)Bung2022-11-011-0/+29
| | | | | | | | | | | | | * fix semcase on tySequence and tyObject #20283 #19682 * use better arg name * avoiding returns nil use errorNode instead, clean code * use efNoDiagnostics flag * remove tests/errmsgs/t19682.nim * combine 2 test cases to one file
* fix #20272 range of uint64 shows signed upper bound (#20702)Bung2022-11-011-0/+4
|
* fixes #20715; range[a..b] inside object variant fails (#20716)ringabout2022-10-311-0/+30
| | | | | | | | | | | * fixes #20715; range[a..b] inside object variant fails * step one fix * better fix * fixes private fields * mistake
* allow deferred close of nil stream (#20706)n5m2022-10-311-0/+6
| | | | | * allow deferred close of nil stream * improve example
* put std/threads under the umbrella of nimPreviewSlimSystem (#20711)ringabout2022-10-316-4/+15
| | | | | | | | | | | * put `std/threads` under the umbrella of `nimPreviewSlimSystem` * add changelog * fixes tests * fixes tests again * fixes tests
* fix #20148 implicit compile time conversion int to ranged float cause… ↵Bung2022-10-291-0/+8
| | | | | (#20698) fix #20148 implicit compile time conversion int to ranged float causes compiler fatal error
* fix #16264 low(Time) OverflowDefect (#20552)Bung2022-10-291-0/+2
| | | fix #16264 regression(0.18.0 => devel): import times; echo low(Time) gives OverflowDefect
* alternate fix + test for #12094, refs #13804 (#20686)metagn2022-10-291-0/+11
|
* fixes #20681; add efSkipFieldVisibilityCheck to skip check (#20639)ringabout2022-10-283-29/+28
| | | | | | | | | | | | | | | | | * don't sem const objectConstr defaults * fixes * add `efSkipFieldVisibilityCheck`; fixes nkBracket types * fixes #20681 * fixes tests * suggestion from @metagn * fixes tests Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* Fix #20628 for Windows (#20667)Andrey Makarov2022-10-282-11/+11
| | | | | | | * Fix #20628 for Windows * Move isRegular - !isSpecial and onlyRegular - skipSpecial * Forgot to change it in 1 more place
* fixes type check of ranges for default fields (#20660)ringabout2022-10-271-0/+11
|
* fix #6637 array index type depends generic (#20673)Bung2022-10-271-0/+9
|
* add test case for #500 (#20661)Bung2022-10-261-0/+8
|
* fixes #19201; fixes sink causes crash in VM (#20658)ringabout2022-10-251-1/+7
|
* closes #6213 #11777; add testcase (#20656)ringabout2022-10-251-0/+27
|
* Implement Unix file regularity check (#20448) (#20628)Andrey Makarov2022-10-252-3/+45
| | | | | * Implement Unix file regularity check * update std/dirs also
* add type check for default fields (#20652)ringabout2022-10-251-0/+22
|
* fixes #1027; disallow templates to use ambiguous identifiers (#20631)ringabout2022-10-243-0/+24
| | | | | | | | | | | | | | | | | | | | * test qualifiedLookUp in templates * check later * add testcase * add 4errormsg * Update tests/template/m1027a.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Update tests/template/m1027b.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* fixes #20645 (#20646)Andreas Rumpf2022-10-241-1/+11
| | | | | * fixes #20645 * better bugfix
* Added 'openArray[char]' overloads to 'std/parseutils' (#20527)Jason Beetham2022-10-241-50/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 'openarray[char]' overloads to 'std/parseutils' * Removed redundant `start` and `last` params from slice using procs * Fixed type for parseIdent overload * fixed one by off with 'substr' * removed missed start parameters for procedures * Added 'openarray[char]' overloads to 'std/parseutils' * Removed redundant `start` and `last` params from slice using procs * Fixed type for parseIdent overload * fixed one by off with 'substr' * removed missed start parameters for procedures * Fixed VM op to work with new 'opcSlice' * Corrected captureBetween's logic to work with openarray * js sys's parsefloat logic now uses openarray Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* fixes #19278; make `privateAccess` work with generic ref object (#20640)ringabout2022-10-242-1/+16
| | | | | * fixes #19278; make `privateAccess` work with generic ref object * fixes
* Fix tuple size check in `std/jsonutils` (#20637)Jake Leahy2022-10-241-1/+7
| | | | | | | | | | | * Add test for tuple being invalid size * Test tuple size before accessing fields * Fix formatting for import * Fix not being able to build from csources_v1 Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* borrowed procs can have a body now for documentation generation (#20617)ringabout2022-10-241-1/+17
| | | | | * borrowed procs can have a body now * fixes examples
* Fix double defer with break in closureiterators [backport] (#20630)Tanguy2022-10-241-0/+30
| | | | | | | Fix double defer with break in closureiterators Signed-off-by: Tanguy <tanguy@status.im> Signed-off-by: Tanguy <tanguy@status.im>
* Pass json options to hooks (#20638)Jake Leahy2022-10-241-0/+22
| | | | | | | | | | | * Added tests * Fix expected string * Allow hooks to take an optional parameter that is the current options * Add options to hooks for other generic types * Fix doc links
* Remove side-effects from sysFatal with panics on (#20632)Tanguy2022-10-241-0/+8
|
* closes #4678; add testcase (#20634)ringabout2022-10-241-0/+16
|
* closes #4466; add testcase (#20625)ringabout2022-10-231-0/+9
|
* enable static tests for topenarray (#20620)ringabout2022-10-231-1/+1
|
* add `std/appdirs` (#20618)ringabout2022-10-221-1/+14
|
* Unpack mSlice tupleconstr for static openarrays (#20615)Jason Beetham2022-10-222-0/+15
|
* fixes a strict case object problem that has been reported on the forum (#20614)Andreas Rumpf2022-10-211-1/+21
|
* add typesafe `std/paths`, `std/files`, `std/dirs`, `std/symlinks` (#20582)ringabout2022-10-212-0/+253
| | | | | | | | | | | | * split std/os; add typesafe std/paths * add more files, dirs, paths * add documentation * add testcase * remove tryRemoveFile * clean up * Delete test.nim * apply changes * add `add` and fixes
* fix #20152 Illegal capture of closure iterator, when should be legal (#20607)Bung2022-10-211-0/+20
|
* fix #19349 incompatible type when mixing float32 and cfloat in generics (#20551)Bung2022-10-211-0/+19
|
* fix #19426 compile error using when/elif/else and typedesc in template (#20550)Bung2022-10-211-0/+16
|
* closes #19969; add testcase for #19969 #15952 #16306 (#20610)ringabout2022-10-211-0/+27
| | | closes #19969; add testcase