Skip to content

Conversation

@Krchi
Copy link
Contributor

@Krchi Krchi commented Jan 13, 2026

  1. fix cast for fixed array of fn, type is fn name, which sizeof(c_function_name) = 1 in c
  2. disable in js backend, js do not have fn new_array_from_c_array
  3. fix fixed array undefined in comptimecall, traverse remained ast node in markused
  4. fix cast twice for fixed array, set inside_cast to false
  5. fix array translated in or_expr, call_expr need set is_return_used
  6. fix with array and shared array, think of &call() is not allow, now shared arr := [1, 2, 3] and shared arr1 := &[1, 2, 3] generate same c code, which different with array

@spytheman
Copy link
Member

Thank you @Krchi . What are the stats now?

@spytheman spytheman requested a review from Eliyaan January 13, 2026 10:25
@Krchi
Copy link
Contributor Author

Krchi commented Jan 13, 2026

Thank you @Krchi . What are the stats now?

9 failed in windows, 18 failed in git codespaces, 9 failed in mac

@spytheman
Copy link
Member

Excellent.

@spytheman spytheman merged commit 241dfe3 into vlang:master Jan 13, 2026
85 checks passed
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.

2 participants