summary refs log tree commit diff stats
path: root/compiler/astmsgs.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #23494; Wrong type in object construction error message (#23504)ringabout2024-04-161-0/+6
| | | fixes #23494
* type refactoring: part 2 (#23059)Andreas Rumpf2023-12-131-1/+1
|
* properly fix #10053 ; `FieldDefect` msg now shows discriminant value + ↵Timothee Cour2021-08-131-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 Cour2021-07-081-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 Cour2021-06-141-0/+5
| | | | | | | * followup #17777: declaredloc field error msgs now work with generics * fix tests * cleanup
* handle tyUserTypeClassInst in addDeclaredLoc (#18236)Timothee Cour2021-06-111-1/+1
|
* add astmsgs; add `declared in` msg for usage lint errors (#17961)Timothee Cour2021-05-081-0/+23
* add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix