summary refs log tree commit diff stats
path: root/tests/errmsgs
Commit message (Collapse)AuthorAgeFilesLines
* asynchttpserver cleanups [backport:1.0] (#15966)Andreas Rumpf2020-11-151-1/+1
| | | | * asynchttpserver cleanups [backport:1.0]
* makes test green againAraq2020-11-131-2/+2
|
* honor --declaredLocs in more places, including type mismatch errors; also ↵Timothee Cour2020-10-272-3/+3
| | | | | | | show `kind` with --declaredLocs (#15673) * honor --declaredLocs in more places, including type mismatch errors * fix tests * show declaration location also when type mismatch names clash
* docgen: improve alignment of comments (still not perfect) (#15506)Andreas Rumpf2020-10-071-2/+2
| | | | | | | * docgen: improve alignment of comments (still not perfect) * fix error message text in `tunknown_named_parameter` Co-authored-by: narimiran <narimiran@disroot.org>
* fix #6608 (#14963)flywind2020-07-141-0/+16
| | | | * fix #6608
* typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵Timothee Cour2020-07-022-4/+4
| | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Implement rendering of `[]=`, `{}`, `{}=` braces (#14539)cooldome2020-06-011-3/+3
| | | | | | | * render curly braces * fix typo * fix test Co-authored-by: cooldome <ariabushenko@bk.ru>
* disallow typedesc in arrays & move existing checks to `types.typeAllowedAux` ↵Neelesh Chandola2020-05-296-8/+8
| | | | | | (#13261) * disallow typedesc in arrays and move previous checks to types.typeAllowedAux
* improve the 'has to be discarded' error messageAraq2020-05-021-1/+1
|
* fixes #12741 (#14005)Andreas Rumpf2020-04-191-1/+1
| | | | * fixes #12741 * updated tests
* fixes #13715 (#13716)Arne Döring2020-03-221-1/+1
| | | | | * fixes #13715 * fix test
* fix #13538 sigmatch errors are now sorted (#13701)Timothee Cour2020-03-203-16/+16
| | | | | | | * fix #13538 sigmatch now sorted and has reliable order * re-enable tests that were disabled because of that bug * fix remaining tests and un-disable 2 other tests that were affected by this bug
* fixes #5170 (#13589)Andreas Rumpf2020-03-052-5/+5
| | | | | | * fixes #5170 * make tests green
* fix several bugs with `repr` (#13386)Timothee Cour2020-02-111-2/+1
|
* Revert "printing float values will have one more digit. (#13276) [backport]" ↵Timothee Cour2020-02-081-2/+3
| | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
* printing float values will have one more digit. (#13276) [backport]Arne Döring2020-02-071-3/+2
| | | | * printing float values will have one more digit. Fixes #13196
* fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) ↵Timothee Cour2020-02-071-0/+47
| | | | [backport]
* Assigning template to var/let/const gives a proper error (#12851)Neelesh Chandola2019-12-093-2/+15
| | | | | | * Assigning template to var/let/const gives a proper error * Fix style
* fix failing testnarimiran2019-11-071-1/+1
|
* refactor illegal iterator assignment detection (#12212)Arne Döring2019-10-111-0/+28
| | | | | | * refactor illegal iterator assignment detection * delete crappy test
* ungeneric unsigned ops (#12230)Jasper Jenkins2019-10-111-4/+4
| | | | | | | | | | * ungenericise unsigned ops, remove nimNewShiftOps * fix/remove tests * update t6448 * fix line info * disable on 32bit * fix different line info * add changelog entry
* error for NimNode index kind (#12154)Jasper Jenkins2019-09-083-0/+24
|
* typeToString can now show (recursively) resolved type aliases; fixes #8569 ↵Timothee Cour2019-08-312-2/+2
| | | | | | | | | | | #8083 #8570 (#11678) * nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests
* fixes 5870 (#11704)Andreas Rumpf2019-08-291-0/+17
| | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages
* fixes #11833 (#12018)Andreas Rumpf2019-08-241-2/+2
|
* fixes #11942 (#11945)Arne Döring2019-08-141-5/+5
|
* disallow static in return type (#9686) [nobackport]Arne Döring2019-08-061-0/+10
|
* Merge pull request #11680 from timotheecour/pr_fix_sigmatch_errmsgAndreas Rumpf2019-07-176-7/+185
|\ | | | | fixes #8305; fixes #7808; fixes #10285; fixes #11061 + other bugs with type mismatch error msgs
| * address commentsTimothee Cour2019-07-081-59/+9
| |
| * add tests for #8305 #7808 #10285 #11061 + other bugsTimothee Cour2019-07-081-18/+98
| |
| * make tests/concepts/t3330.nim disabled again: the order of candidates is ↵Timothee Cour2019-07-081-0/+142
| | | | | | | | machine dependent
| * fix testsTimothee Cour2019-07-085-7/+13
| |
* | make tests green againAraq2019-07-091-1/+1
|/
* [backport] fix #11320 (#11538)Arne Döring2019-07-031-3/+1
| | | | | * [backport] fix #11320 * fix test for 32 bit test
* fixes #11515 (#11624)Andreas Rumpf2019-07-012-3/+2
| | | | | | * fixes #11515 * better fix for #11515; make tests green
* [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419)Arne Döring2019-06-111-1/+1
|
* travis: cleanup & add 32-bit Linux testing (#11337)alaviss2019-05-301-2/+3
|
* Tuple error message (#11141); fixes #3211Arne Döring2019-05-151-5/+2
|
* forbid casting to bare unchecked array (#11186)Arne Döring2019-05-081-0/+9
| | | | | * fixes #11180, forbid casting to unchecked array. * allow UncheckedArray as param
* empty container param error msg (#11158)Jasper Jenkins2019-05-041-0/+5
|
* Lineinfo fix (#10871)Arne Döring2019-03-211-0/+18
|
* move assertions and iterators out of system.nim (#10597)Miran2019-03-071-1/+1
| | | | | * move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions
* make typeToString sane for sequence againAndreas Rumpf2019-02-251-1/+1
|
* Open a new scope for `static:` expr blocks (#10649)LemonBoy2019-02-232-0/+16
| | | | Bring this in line with how plain blocks are analysed and avoids codegen errors if one references variables defined in such a block.
* error message for accidental use of macro (#10490)Arne Döring2019-02-192-0/+18
| | | | * error message for accidental use of macro
* 32 bit fixes (#10608)Arne Döring2019-02-131-0/+3
|
* error messages can have spaces, don't be dyslexicAraq2019-02-081-1/+1
|
* Stop useless suggestion of unsafeAddr (#10598)LemonBoy2019-02-081-0/+7
| | | Fixes #10594
* closes #8610 ; adds test case (#10454)Timothee Cour2019-01-251-0/+5
|
* Finalizer proc must be global (#10388)LemonBoy2019-01-221-0/+31
| | | Fixes #10376