Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ref Locals/Returns Language Feature Incomplete #15901

Open
3 of 9 tasks
gafter opened this issue Dec 14, 2016 · 0 comments
Open
3 of 9 tasks

Ref Locals/Returns Language Feature Incomplete #15901

gafter opened this issue Dec 14, 2016 · 0 comments

Comments

@gafter
Copy link
Member

gafter commented Dec 14, 2016

Developing a language feature like ref locals and ref returns has the following among its subtasks

  • Initial idea for the feature
  • Draft (possibly informal) language specification detailing the working of the feature (see Proposal: Ref Returns and Locals #118)
    • Argument, evidence, or proof that the proposal is sound (e.g. does not result in active refs to stack variables that have gone out of scope)
  • Compiler implementation of the feature as specified
  • Draft specification for the set of changes to be made to CLI verification
  • Test suite demonstrating correctness of the static and dynamic semantics of the feature implementation
  • Test suite demonstrating that the implementation produces code that obeys the modified verification rules.

Note that this list is not intended to be complete; it contains mainly items relevant to the issue. There are many other subtasks such as IDE support, debugger support, etc, that were included in the work to complete this feature.

The current state of the feature is that the implementation does not agree with the draft specification (see #10645) because of (undocumented) intended changes to the feature, and work has not yet started on the revised verifier rules, implementation, or testing to demonstrate that the compiler obeys the proposed rules. The latter test gap is a significant risk for this feature.

@gafter gafter added this to the 2.0 (RTM) milestone Dec 14, 2016
@jaredpar jaredpar modified the milestones: 2.1, 2.0 (RTM) Jan 12, 2017
@jaredpar jaredpar modified the milestones: 16.0, 15.1 Mar 9, 2017
@jinujoseph jinujoseph modified the milestones: 16.0, 16.3 Jun 9, 2019
@jcouv jcouv modified the milestones: 16.3, Compiler.Next Jul 13, 2019
@jaredpar jaredpar modified the milestones: Compiler.Next, Backlog Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants