Skip to content

Conversation

@juancarlospaco
Copy link
Collaborator

@juancarlospaco juancarlospaco commented Jul 3, 2020

  • Add {.deprecated.} pragma to Deprecated module.
  • Documentation explicitly says its Deprecated since 0.19 but it has no pragma.

## 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants