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

Remove error from anydata #463

Closed
jclark opened this issue Mar 25, 2020 · 0 comments
Closed

Remove error from anydata #463

jclark opened this issue Mar 25, 2020 · 0 comments
Assignees
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design

Comments

@jclark
Copy link
Collaborator

jclark commented Mar 25, 2020

In addition to removing, the error type is removed from anydata, several types have to change from anydata toanydata|readonly:

  • error detail record of error
  • param/return of value:clone and value:cloneReadOnly
  • send action

This is part of #189.

This depends on #462.

This is a prerequisite of #353.

We can get rid of the concept of a pure value and replace it by anydata. This implies == is not defined for error (which is right since == will ignore brands).

@jclark jclark added the Type/Improvement Enhancement to language design label Mar 25, 2020
@jclark jclark added this to the 2020R2 milestone Mar 25, 2020
@jclark jclark self-assigned this Mar 25, 2020
jclark added a commit that referenced this issue Mar 27, 2020
jclark added a commit that referenced this issue Mar 27, 2020
"pure" now means the same as anydata.
Part of #463.
@jclark jclark added Area/Lang Relates to the Ballerina language specification status/inprogress Fixes are in the process of being added labels Mar 27, 2020
@jclark jclark closed this as completed in b5e09c0 Mar 27, 2020
jclark added a commit that referenced this issue Mar 28, 2020
Part of #465.
Also improve error (#463).
@jclark jclark removed the status/inprogress Fixes are in the process of being added label Mar 29, 2020
@jclark jclark modified the milestones: 2020R3, 2020R2 Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design
Projects
None yet
Development

No branches or pull requests

2 participants