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

parser: allow array cast syntax #19999

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Nov 26, 2023

Fix #10763

🤖[deprecated] Generated by Copilot at 7492d0f

This pull request fixes a bug in type casting between array types and implements a feature for parsing JSON arrays with json.decode. The changes affect the files vlib/v/checker/checker.v and vlib/v/parser/expr.v.

🤖[deprecated] Generated by Copilot at 7492d0f

  • Prevent invalid type casts between different array types (link)
  • Allow more flexible type arguments for json.decode function (link)

@JalonSolov
Copy link
Contributor

Is this ready to move to review? All checks passed last time they were run.

@felipensp
Copy link
Member Author

Is this ready to move to review? All checks passed last time they were run.

My plan is add map support too. This is the reason to be open yet.

@felipensp felipensp marked this pull request as ready for review August 10, 2024 12:10
@felipensp felipensp marked this pull request as draft August 10, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Casting alias to array fail
2 participants