Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/core/macrocache.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
## as it breaks incremental compilations.
## Instead the API here needs to be used.

{.deprecated: "Deprecated since 0.19; Not supported anymore as it breaks incremental compilation.".}
Copy link
Collaborator

@alaviss alaviss Jul 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh? This is not deprecated.

According to the doc comment:

  • Collecting compile time information across module boundaries in global variables is deprecated
  • This module provides an alternative way to achieve that.

I can see why the documentation is confusing. If you notice the git blame then this module was added with those exact lines, so that rules out the "this module is deprecated" part.

Instead you should clarify the documentation comment above to separate the points correctly.


type
CacheSeq* = distinct string
CacheTable* = distinct string
Expand Down