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

Possible bug with aiken docs for List<a> #1048

Closed
ariady-putra opened this issue Oct 29, 2024 · 0 comments
Closed

Possible bug with aiken docs for List<a> #1048

ariady-putra opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working code formatting Code formatting

Comments

@ariady-putra
Copy link

What Git revision are you using?

aiken v1.1.5+unknown (installed via cargo)

What operating system are you using, and which version?

Linux / Ubuntu 24.04 LTS

Describe what the problem is?

your_module.ak:

pub const direction = ["NORTH", "SOUTH", "EAST", "WEST"]

aiken docs:

direction: List<ByteArray> = ("NORTH", "SOUTH", "EAST", "WEST")

This looks like a tuple.

What should be the expected behavior?

Notice the () vs [],

direction: List<ByteArray> = ["NORTH", "SOUTH", "EAST", "WEST"]
@github-project-automation github-project-automation bot moved this to 🪣 Backlog in Project Tracking Oct 29, 2024
@KtorZ KtorZ moved this from 🪣 Backlog to 🔨 Todo in Project Tracking Oct 29, 2024
@KtorZ KtorZ moved this from 🔨 Todo to 🫡 In Progress in Project Tracking Oct 29, 2024
@KtorZ KtorZ added bug Something isn't working code formatting Code formatting labels Oct 29, 2024
@KtorZ KtorZ self-assigned this Oct 29, 2024
@KtorZ KtorZ closed this as completed in 2489e0f Oct 29, 2024
@github-project-automation github-project-automation bot moved this from 🫡 In Progress to ✅ In Next Release in Project Tracking Oct 29, 2024
@rvcas rvcas moved this from ✅ In Next Release to 🚀 Released in Project Tracking Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code formatting Code formatting
Projects
Status: 🚀 Released
Development

No branches or pull requests

2 participants