Skip to content

cgen: fix array fixed on update expr and alias type to multi dimension of fixed array#22972

Merged
spytheman merged 4 commits intovlang:masterfrom
felipensp:fix_updateexpr_array_fixed
Nov 28, 2024
Merged

cgen: fix array fixed on update expr and alias type to multi dimension of fixed array#22972
spytheman merged 4 commits intovlang:masterfrom
felipensp:fix_updateexpr_array_fixed

Conversation

@felipensp
Copy link
Copy Markdown
Member

@felipensp felipensp commented Nov 25, 2024

@felipensp felipensp marked this pull request as ready for review November 27, 2024 14:28
@medvednikov
Copy link
Copy Markdown
Member

Wow that was a tough fix.

@felipensp
Copy link
Copy Markdown
Member Author

felipensp commented Nov 27, 2024

Wow that was a tough fix.

Yeah. It just spoted that it was not possible to use alias to multi dimensions array fixed. e.g. type Foo = [2][2]int

@felipensp felipensp changed the title cgen: fix array fixed on update expr cgen: fix array fixed on update expr and alias type to multi dimension of fixed array Nov 27, 2024
@spytheman spytheman merged commit 5e78eef into vlang:master Nov 28, 2024
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.

Copying object with spread operator and typealias gives c error: struct/union type expected

3 participants