summary refs log tree commit diff stats
path: root/tests/proc
Commit message (Collapse)AuthorAgeFilesLines
* fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now ↵ringabout2023-02-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parses the whole module at one time (#21379) * fixes #19795; remove parse pipeline * isScript * fixes nimscriptapi * don't touch reorder * check script * fixes tests * it seems implicit imports of system cause troubles * access the first child of `nkStmtList` * ignore comments * minor messages * perhaps increases hloLoopDetector * the module is a stmtList, which changes the errors * fixes nimdoc * fixes tlinter * fixes nim secret tests * fixes arc_misc * fixes nim secret tests again * safe; fixes one more test * GlobalError is the root cause too * fixes parsing errors * put emit types to the cfsForwardTypes section * fixes #11852; `{.push checks:off}` now works in procs * disable navigator * fixes nimdoc * add tests for JS * fixes nimsuggest
* underscores for routine parameters (#21192)metagn2023-01-081-0/+109
| | | | | | | | | * underscores for routine parameters fixes #13443, fixes #13804, refs #21121 * add changelog + more tests * support generics and ensure inferred lambdas work
* fix #15836 proc arg return type auto unexpectly match proc with concr… ↵Bung2022-12-121-1/+1
| | | | | | | | | (#21065) * fix #15836 proc arg return type auto unexpectly match proc with concrete type * fix #16244 * add test case for #12869
* Revert "fix #15836 proc arg return type auto unexpectly match proc with ↵ringabout2022-12-091-1/+1
| | | | | | | concr…" (#21057) Revert "fix #15836 proc arg return type auto unexpectly match proc with concr… (#21044)" This reverts commit 0cd9bdcf9f6802421e0d8e4c28fc732012af605e.
* fix #15836 proc arg return type auto unexpectly match proc with concr… ↵Bung2022-12-091-1/+1
| | | | | (#21044) fix #15836 proc arg return type auto unexpectly match proc with concrete type
* fix #18136 tests/proc/t17157.nim now gives SIGSEGV instead of error (#20555)Bung2022-10-131-1/+0
|
* manual: Document that comma propagates the default values of parameters (#19080)Kaushal Modi2021-11-031-0/+20
| | | | | | | | | | | | | * manual: Document that comma propagates the default values of parameters Fixes https://github.com/nim-lang/Nim/issues/15949. * Use the "bug #NNNN" comment syntax for consistency Ref: https://nim-lang.github.io/Nim/contributing.html#writing-tests-stdlib > Always refer to a GitHub issue using the following exact syntax: bug for tooling.
* fix #18113 (#18124)Saem Ghani2021-05-311-0/+1
|
* close #17157 add testcase (#17531)flywind2021-03-271-0/+6
|
* Remove declPragmas from lambdas [backport:1.0] (#16966)hlaaftana2021-02-091-0/+7
| | | | | | | | | * Remove declPragmas from lambdas [backport:1.0] * add test for exportc * fix test * fix align, nodecl -> noinit
* testament spec: remove errmsg alias of errormsg (#16188)Timothee Cour2020-11-292-2/+2
|
* allow typed/untyped in magic procs (#12911)Timothee Cour2019-12-171-2/+10
|
* fixes #12033 (#12039)Arne Döring2019-08-261-2/+11
|
* fixes #10838 (#10841)cooldome2019-03-181-0/+14
| | | | | | * fixes #10838 * reject func in types instead * trigger tests
* typed/untyped return type is invalid for everything except templates and ↵Neelesh Chandola2019-01-151-0/+12
| | | | macros (#10275)
* proc does not take untyped/typed as argument (#9981)Neelesh Chandola2018-12-192-0/+14
| | | | | | * proc does not take untyped/typed as argument * Add TODO
* require errormsg to be specified before file.Arne Döring2018-12-111-2/+1
|
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-164-37/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix
* Pick skParam symbols when resolving type idents (#8720)LemonBoy2018-08-221-0/+10
| | | Fixes #8357
* Update all the default parameters after an instantiation (#8689)LemonBoy2018-08-201-0/+11
| | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683
* make tests green againAndreas Rumpf2018-05-021-2/+2
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-4/+4
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* new tester; all tests categorizedAraq2014-01-132-0/+25