summary refs log tree commit diff stats
path: root/tests/errmsgs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix error lexer error messages for to large numbers (#10394)Oscar Nihlgård2019-01-211-0/+15
|
* better docs: strutilsnarimiran2019-01-161-4/+4
|
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-082-0/+33
| | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
* [error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766)Timothee Cour2019-01-083-0/+71
| | | | | | | | | | | | | | | | | | | * fixes #8794 : `Error: undeclared field: 'foo'` should show type (+ where type is defined) (hard to guess in generic code) * fixes #9270: `--listFullPaths` not honored by `declared in foo.nim` messages * fixes #9767: VM stacktrace doesn't honor --excessiveStackTrace:on * fixes #9768: VM stacktrace misses column info, can lead to ambiguous or harder to read stacktraces * refactors some col+1 code to col + ColOffset (self documents code) * make getProcHeader show declared info location also for types and all routine kinds (including macros,templates) instead of just (rather arbitrarily) for iterator,proc,func,method * --listFullPaths now is honored in more places * fix typo system/except.nim => lib/system/excpt.nim * remove substr(foo, 0) hack in compiler/vm.nim which seems old and not applicable anymore
* fixes #10101 (#10103)Timothee Cour2018-12-271-4/+4
|
* lots of small changesArne Döring2018-12-113-3/+2
|
* megatest checks output and nimoutArne Döring2018-12-111-0/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-111-1/+1
|
* Float values are invalid in enumNeelesh Chandola2018-12-092-2/+12
|
* Fix test case expected outputNeelesh Chandola2018-12-091-1/+1
|
* Add testNeelesh Chandola2018-12-091-0/+10
|
* improve line info retreival (#9822)Arne Döring2018-11-301-1/+1
| | | | | * improve line info * fix error message
* fixes #9764Araq2018-11-231-0/+29
|
* fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to ↵Timothee Cour2018-10-146-0/+65
| | | | call undeclared routine' error (#8786)
* Add checks for except: body blocks (#9191)Dheepak Krishnamurthy2018-10-092-0/+22
|
* make tests green againAndreas Rumpf2018-09-241-5/+5
|
* Test case for #6483Ganesh Viswanathan2018-09-141-0/+31
|