Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #23494; Wrong type in object construction error message (#23504) | ringabout | 2024-04-16 | 1 | -0/+6 |
| | | | fixes #23494 | ||||
* | type refactoring: part 2 (#23059) | Andreas Rumpf | 2023-12-13 | 1 | -1/+1 |
| | |||||
* | properly fix #10053 ; `FieldDefect` msg now shows discriminant value + ↵ | Timothee Cour | 2021-08-13 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lineinfo, in all backends (c,vm,js) (#11955) * fix #10053 FieldError for vm * fixup * FieldError now also shows runtime value of discriminant * fix field error reporting in vm * also report culprit line info in err msg * fix errors for newruntime 2 * fix for js * fixup * PRTEMP4 * works * works * works perfect * refactor * std/private/repr_impl * suppport --gc:arc * cleanup * refactor * simplify * simplify * simplify * fixup * move out compiler.vmgen.genCustom * fixup * fixup * add tests * revert compiler/debugutils.nim * simplify reprDiscriminant * fixup * lib/std/private/repr_impl.nim -> lib/system/repr_impl.nim * try to fix D20210812T165220 * honor --declaredlocs * control toFileLineCol via --declaredlocs | ||||
* | improve `--declaredLocs` to help disambiguate types (generics, aliases etc) ↵ | Timothee Cour | 2021-07-08 | 1 | -1/+1 |
| | | | | | | | | | (#18389) * improve --declaredlocs to help disambiguate types (generics, aliases etc) * avoid a cyclic deps * fix test after rebase | ||||
* | followup #17777: declaredloc field error msgs now work with generics (#18259) | Timothee Cour | 2021-06-14 | 1 | -0/+5 |
| | | | | | | | * followup #17777: declaredloc field error msgs now work with generics * fix tests * cleanup | ||||
* | handle tyUserTypeClassInst in addDeclaredLoc (#18236) | Timothee Cour | 2021-06-11 | 1 | -1/+1 |
| | |||||
* | add astmsgs; add `declared in` msg for usage lint errors (#17961) | Timothee Cour | 2021-05-08 | 1 | -0/+23 |
* add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix |