carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

`extend api`

Open josh11b opened this issue 1 year ago • 6 comments

Allow types to extend api other types, adding the names from the other type to its namespace, for forwarding and delegation use cases.

josh11b avatar Mar 20 '24 23:03 josh11b

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

github-actions[bot] avatar Aug 27 '24 01:08 github-actions[bot]

@josh11b and I have both lost track of our state on this. We intend to return to this at some point but this PR is not a current priority.

zygoloid avatar Aug 27 '24 19:08 zygoloid

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

github-actions[bot] avatar Nov 26 '24 02:11 github-actions[bot]

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

github-actions[bot] avatar Feb 25 '25 02:02 github-actions[bot]

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active or becomes active again, please reopen it.

This PR was closed and archived because there has been no new activity in the 14 days since the inactive label was added.

github-actions[bot] avatar Mar 11 '25 02:03 github-actions[bot]

It recently came up in discussion that this feature might be accessed using extend alias instead of extend api. Rationale:

  • api is no longer a keyword, not worth creating it for this case
  • The effects of this feature can be simulated by using alias. Similarly, if #5028 replaces alias with something else (like using), we could use the same keyword here (extend using).

What do you think?

josh11b avatar Apr 18 '25 23:04 josh11b

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

github-actions[bot] avatar Jul 18 '25 02:07 github-actions[bot]

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active or becomes active again, please reopen it.

This PR was closed and archived because there has been no new activity in the 14 days since the inactive label was added.

github-actions[bot] avatar Aug 01 '25 02:08 github-actions[bot]

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

github-actions[bot] avatar Nov 01 '25 02:11 github-actions[bot]