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 for default values for fields #26

Open
blancolioni opened this issue Apr 25, 2021 · 0 comments · Fixed by #32
Open

Support for default values for fields #26

blancolioni opened this issue Apr 25, 2021 · 0 comments · Fixed by #32
Assignees
Labels
enhancement New feature or request

Comments

@blancolioni
Copy link
Owner

blancolioni commented Apr 25, 2021

Field declaration is now

F : T := V

Where F is the name of the field, T is its type, and V is a default value.

If V is the special value <>, the default value is based on the type. Otherwise it should be a literal value of the type.

@blancolioni blancolioni changed the title exit New aspect: Required, which suppresses default values for arguments to Create Apr 25, 2021
@blancolioni blancolioni self-assigned this Apr 25, 2021
@blancolioni blancolioni added the enhancement New feature or request label Sep 29, 2021
@blancolioni blancolioni changed the title New aspect: Required, which suppresses default values for arguments to Create Support for default values for fields Feb 15, 2022
@blancolioni blancolioni linked a pull request Feb 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant