summary refs log tree commit diff stats
path: root/compiler/sighashes.nim
Commit message (Expand)AuthorAgeFilesLines
* remove nontoplevel type hack + consider symbol disamb in type hash (#23969)metagn2024-08-161-0/+4
* refactor: The popular 'r' field is now named 'snippet' (#23829)Andreas Rumpf2024-07-121-2/+2
* fixes addr/hiddenAddr in strictdefs (#23477)ringabout2024-04-101-5/+5
* type refactor: part 4 (#23077)Andreas Rumpf2023-12-151-15/+17
* Types: Refactorings; step 1 (#23055)Andreas Rumpf2023-12-121-12/+16
* prepare for the enforcement of `std` prefix (#22873)ringabout2023-10-291-2/+3
* unpublic the sons field of PType; the precursor to PType refactorings (#22446)ringabout2023-08-111-1/+1
* use strictdefs for compiler (#22365)ringabout2023-08-061-2/+6
* fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702)ringabout2023-05-021-1/+2
* refactoring in preparation for better, simpler name mangling that wor… (#21...Andreas Rumpf2023-04-241-1/+1
* fixes booting warnings (#21583)ringabout2023-04-101-2/+1
* fixes #20139; hash types based on its path relative to its package path (#212...ringabout2023-03-021-42/+44
* remove md5_old (#21312)ringabout2023-01-311-1/+1
* fixes ptr to cstring warnings[backport] (#20848)ringabout2022-11-161-1/+1
* fix sighashes for generic ref (#20723)Jacek Sieka2022-11-011-1/+2
* store full definition AST for consts, fix noRewrite (#20115)metagn2022-09-281-1/+1
* no ropes WIP (#20433)Andreas Rumpf2022-09-271-3/+2
* move assertions out of system (#19599)flywind2022-03-231-0/+4
* Use openarray of bytes in md5 (#19307)hlaaftana2022-01-151-1/+1
* get rid of the warnings during bootstrapping (#18741)Miran2021-08-241-1/+1
* fix a typo (#18736)flywind2021-08-231-1/+1
* replace wrt with proper word (#18724)flywind2021-08-221-1/+1
* fixes #18550 (#18553)Andreas Rumpf2021-07-211-1/+3
* type with same name in different scope now works (#17710)Timothee Cour2021-04-141-5/+14
* IC: next steps (#16550)Andreas Rumpf2021-01-071-1/+1
* Big compiler Cleanup (#14777)Clyybber2020-08-281-1/+1
* fixes #5170 (#13589)Andreas Rumpf2020-03-051-10/+9
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-22/+22
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-4/+4
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-2/+0
* styleCheck: make the compiler and large parts of the stdlib compatible with -...Araq2019-07-101-6/+6
* Replace countup(x, y) with x .. yClyybber2019-05-071-1/+1
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-3/+3
* Destructor lifting fixes #11149 (#11163)cooldome2019-05-041-1/+6
* bug fix in sym body hash (#11127)cooldome2019-04-271-2/+2
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-111-68/+82
* make tests green againAndreas Rumpf2019-04-021-1/+1
* try to make travis greenAraq2019-04-021-1/+1
* newruntime: progressAraq2019-04-011-1/+6
* Initial version of the hot-code reloading support for native targets (#10729)zah2019-02-261-3/+13
* first steps in implementing 'owned' pointers; undocumented, do not useAndreas Rumpf2019-02-231-1/+1
* Fix edge case in type hashing (#10601) [backport]LemonBoy2019-02-081-12/+17
* Merge pull request #8966 from LemonBoy/fix-8964Andreas Rumpf2018-09-141-5/+7
|\
| * Fix hashing for codegenProc (sic) typesLemonBoy2018-09-141-5/+7
* | fixes #8883Araq2018-09-141-3/+7
|/
* Correctly hash inferred types (#8286)LemonBoy2018-07-121-1/+1
* Don't blow up with recursive objectsLemonBoy2018-06-221-4/+3
* Discriminate gensym'd type names in sigHashLemonBoy2018-06-221-2/+4
* fix #7653Zahary Karadjov2018-06-101-10/+15
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-131-1/+30
pan class="k">let typ = typ.skipTypes(abstractInst + {tyStatic, tySequence, tyArray, tySet, tyUserTypeClassInst, tyVar, tyRef, tyPtr} - {tyRange}) result.add " [$1" % typ.kind.toHumanStr if typ.sym != nil: result.add " declared in " & toFileLineCol(conf, typ.sym.info) result.add "]" proc addTypeNodeDeclaredLoc*(result: var string, conf: ConfigRef; typ: PType) = result.add " [$1" % typ.kind.toHumanStr if typ.sym != nil: result.add " declared in " & toFileLineCol(conf, typ.sym.info) result.add "]" proc addDeclaredLocMaybe*(result: var string, conf: ConfigRef; typ: PType) = if optDeclaredLocs in conf.globalOptions: addDeclaredLoc(result, conf, typ) template quoteExpr*(a: string): untyped = ## can be used for quoting expressions in error msgs. "'" & a & "'" proc genFieldDefect*(conf: ConfigRef, field: string, disc: PSym): string = let obj = disc.owner.name.s # `types.typeToString` might be better, eg for generics result = "field '$#' is not accessible for type '$#'" % [field, obj] if optDeclaredLocs in conf.globalOptions: result.add " [discriminant declared in $#]" % toFileLineCol(conf, disc.info) result.add " using '$# = " % disc.name.s