Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add test case for pure enum redefinition error within enum (fixed in recent ↵ | Timothee Cour | 2021-06-15 | 1 | -7/+14 |
| | | | | | | | | | | | | | PR) (#18266) * add test case for pure enum redefinition error within enum (fixed in recent PR) * remove code duplication * Revert "remove code duplication" (would require bootstrap >= 1.4) This reverts commit 3f793874c231f847ef015e37a5fd6851f85d9675. * fixup | ||||
* | Small scope refactoring (#18263) | Clyybber | 2021-06-14 | 1 | -0/+12 |
| | | | | | | | * Small scope refactoring * Add test for #10251 * Add inline where appropriate | ||||
* | followup #17777: declaredloc field error msgs now work with generics (#18259) | Timothee Cour | 2021-06-14 | 1 | -15/+25 |
| | | | | | | | * followup #17777: declaredloc field error msgs now work with generics * fix tests * cleanup | ||||
* | more informative error msg for undeclared field (`A(badfield: 1)` and ↵ | Timothee Cour | 2021-05-16 | 1 | -0/+40 |
| | | | | `a.badfield = expr`) (#17777) | ||||
* | fix #17859; rename tests so they run in CI; merge several tests with nim ↵ | Timothee Cour | 2021-04-27 | 7 | -54/+44 |
| | | | | | | | | | | | | | check (#17862) * rename a test so it runs in CI; merge several tests with nim check * continue * continue * continue * rename tests/errmsgs/undeclared_routine_compiles.nim -> tests/errmsgs/tundeclared_routine_compiles.nim | ||||
* | fix typo in test name undeclared_routime.nim => undeclared_routine.nim (#17861) | Timothee Cour | 2021-04-26 | 7 | -17/+17 |
| | |||||
* | fix CI tests/errmsgs/tgcsafety.nim (#17721) | Timothee Cour | 2021-04-14 | 1 | -1/+1 |
| | |||||
* | simplify asyncfutures, asyncmacro (#17633) | Timothee Cour | 2021-04-14 | 1 | -1/+2 |
| | |||||
* | close #17636 (#17643) | flywind | 2021-04-06 | 5 | -8/+3 |
| | |||||
* | fix #16693: testament spec nimout too lax (#16698) | flywind | 2021-04-04 | 2 | -2/+2 |
| | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> | ||||
* | fix #14850: `repr` now correctly renders `do` (#17623) | Timothee Cour | 2021-04-03 | 1 | -2/+2 |
| | | | | | | | * fix #14850: `repr` now correctly renders `do` * add tests * fix test | ||||
* | [nim check]fix #17460 (#17569) | flywind | 2021-03-29 | 1 | -0/+19 |
| | |||||
* | fixed dot operator recursive loop & macro suggest (#16922) | Saem Ghani | 2021-02-15 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | * basic stability improvements; refs nimsuggest * fixed dot operator recursive loop & macro suggest * hacky fix for run away dot operator sem check Committing this mostly to make the issue more clear. Perhaps get better feedback. * semExprWithType seems like a better place to check * fixed error messages const case expressions * Clean-up test * stopped the dot operator madness No longer get infinite recursion when seming broken code with a dot operator macro like in jsffi. Co-authored-by: Araq <rumpf_a@web.de> | ||||
* | typeToString: type float => typedesc[float] (#17011) | Timothee Cour | 2021-02-12 | 4 | -8/+8 |
| | | | | | | | * typeToString: type float => typedesc[float] * fixup * fix tests | ||||
* | fix floats slice (#16853) | flywind | 2021-01-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * see whether it breaks * fix * fix * minor * fix * add enum * use Ordinal types * fix tests * fix * another style * fix remainning cases | ||||
* | close #10735 add testcase (#16690) | flywind | 2021-01-15 | 1 | -0/+41 |
| | |||||
* | close #10734 add testcase (#16692) | flywind | 2021-01-12 | 1 | -0/+19 |
| | | | | | | | * close #10734 add testcase * fix * fix | ||||
* | strutils.nim: Use `func` everywhere (#16281) | ee7 | 2020-12-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | * strutils.nim: procs with {.noSideEffect.} -> func * strutils.nim: procs without {.noSideEffect.} -> func * strutils.nim: proc -> func for links * strutils.nim: proc -> func in doc comments * test: add strutils to strictFuncs test * test: proc -> func in errmsg test | ||||
* | testament spec: remove errmsg alias of errormsg (#16188) | Timothee Cour | 2020-11-29 | 4 | -4/+4 |
| | |||||
* | asynchttpserver cleanups [backport:1.0] (#15966) | Andreas Rumpf | 2020-11-15 | 1 | -1/+1 |
| | | | | * asynchttpserver cleanups [backport:1.0] | ||||
* | makes test green again | Araq | 2020-11-13 | 1 | -2/+2 |
| | |||||
* | honor --declaredLocs in more places, including type mismatch errors; also ↵ | Timothee Cour | 2020-10-27 | 2 | -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 Rumpf | 2020-10-07 | 1 | -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) | flywind | 2020-07-14 | 1 | -0/+16 |
| | | | | * fix #6608 | ||||
* | typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵ | Timothee Cour | 2020-07-02 | 2 | -4/+4 |
| | | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Implement rendering of `[]=`, `{}`, `{}=` braces (#14539) | cooldome | 2020-06-01 | 1 | -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 Chandola | 2020-05-29 | 6 | -8/+8 |
| | | | | | | (#13261) * disallow typedesc in arrays and move previous checks to types.typeAllowedAux | ||||
* | improve the 'has to be discarded' error message | Araq | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | fixes #12741 (#14005) | Andreas Rumpf | 2020-04-19 | 1 | -1/+1 |
| | | | | * fixes #12741 * updated tests | ||||
* | fixes #13715 (#13716) | Arne Döring | 2020-03-22 | 1 | -1/+1 |
| | | | | | * fixes #13715 * fix test | ||||
* | fix #13538 sigmatch errors are now sorted (#13701) | Timothee Cour | 2020-03-20 | 3 | -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 Rumpf | 2020-03-05 | 2 | -5/+5 |
| | | | | | | * fixes #5170 * make tests green | ||||
* | fix several bugs with `repr` (#13386) | Timothee Cour | 2020-02-11 | 1 | -2/+1 |
| | |||||
* | Revert "printing float values will have one more digit. (#13276) [backport]" ↵ | Timothee Cour | 2020-02-08 | 1 | -2/+3 |
| | | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe. | ||||
* | printing float values will have one more digit. (#13276) [backport] | Arne Döring | 2020-02-07 | 1 | -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 Cour | 2020-02-07 | 1 | -0/+47 |
| | | | | [backport] | ||||
* | Assigning template to var/let/const gives a proper error (#12851) | Neelesh Chandola | 2019-12-09 | 3 | -2/+15 |
| | | | | | | * Assigning template to var/let/const gives a proper error * Fix style | ||||
* | fix failing test | narimiran | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | refactor illegal iterator assignment detection (#12212) | Arne Döring | 2019-10-11 | 1 | -0/+28 |
| | | | | | | * refactor illegal iterator assignment detection * delete crappy test | ||||
* | ungeneric unsigned ops (#12230) | Jasper Jenkins | 2019-10-11 | 1 | -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 Jenkins | 2019-09-08 | 3 | -0/+24 |
| | |||||
* | typeToString can now show (recursively) resolved type aliases; fixes #8569 ↵ | Timothee Cour | 2019-08-31 | 2 | -2/+2 |
| | | | | | | | | | | | #8083 #8570 (#11678) * nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests | ||||
* | fixes 5870 (#11704) | Andreas Rumpf | 2019-08-29 | 1 | -0/+17 |
| | | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages | ||||
* | fixes #11833 (#12018) | Andreas Rumpf | 2019-08-24 | 1 | -2/+2 |
| | |||||
* | fixes #11942 (#11945) | Arne Döring | 2019-08-14 | 1 | -5/+5 |
| | |||||
* | disallow static in return type (#9686) [nobackport] | Arne Döring | 2019-08-06 | 1 | -0/+10 |
| | |||||
* | Merge pull request #11680 from timotheecour/pr_fix_sigmatch_errmsg | Andreas Rumpf | 2019-07-17 | 6 | -7/+185 |
|\ | | | | | fixes #8305; fixes #7808; fixes #10285; fixes #11061 + other bugs with type mismatch error msgs | ||||
| * | address comments | Timothee Cour | 2019-07-08 | 1 | -59/+9 |
| | | |||||
| * | add tests for #8305 #7808 #10285 #11061 + other bugs | Timothee Cour | 2019-07-08 | 1 | -18/+98 |
| | | |||||
| * | make tests/concepts/t3330.nim disabled again: the order of candidates is ↵ | Timothee Cour | 2019-07-08 | 1 | -0/+142 |
| | | | | | | | | machine dependent |