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

Version programs #165

Closed
5 tasks
turbolent opened this issue Jun 18, 2020 · 0 comments · Fixed by #239
Closed
5 tasks

Version programs #165

turbolent opened this issue Jun 18, 2020 · 0 comments · Fixed by #239
Assignees
Labels
Feature Good First Issue Good for newcomers

Comments

@turbolent
Copy link
Member

Context

Cadence programs should indicate in what version of Cadence they are written in.

Definition of Done

  • Parser:
    • Require the static annotation #version(_ version: String), e.g. #version("0.5") at the beginning of programs
    • AST: Add version string field to ast.Program
  • Tests
  • Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Good First Issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants