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

Support return type of abstract algorithms #57

Closed
jhnaldo opened this issue Feb 25, 2022 · 2 comments
Closed

Support return type of abstract algorithms #57

jhnaldo opened this issue Feb 25, 2022 · 2 comments
Assignees
Labels
area:spec Related to specifications new feature Implements a new feature

Comments

@jhnaldo
Copy link
Contributor

jhnaldo commented Feb 25, 2022

The recent draft version of ECMA-262 supports return types as follows:

Number::unaryMinus (
  _x_: a Number,
): a Number
@jhnaldo jhnaldo added area:spec Related to specifications new feature Implements a new feature labels Feb 25, 2022
@jhnaldo jhnaldo self-assigned this Feb 25, 2022
@jhnaldo
Copy link
Contributor Author

jhnaldo commented Feb 25, 2022

The recent update of ECMA-262 with return types (tc39/ecma262@7575f74) is significant. It is related to the pull request (tc39/ecma262#2547). Please consider the update the version of ECMA-262 after the stable support of the previous versions of ECMA-262.

@jhnaldo
Copy link
Contributor Author

jhnaldo commented Sep 9, 2022

Now, the Extractor supports the extraction of type annotations for both parameters and returns. In addition, the TypeAnalyzer utilizes it for the type analysis on the mechanized specification extracted from ECMA-262.

@jhnaldo jhnaldo closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:spec Related to specifications new feature Implements a new feature
Projects
None yet
Development

No branches or pull requests

1 participant