-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Breaking Change Description
Error Message:
✗ Syntax error: Function parameters must be simple identifiers or destructuring patterns
Affected Version: v1.89.0 → v3.62.12
Category: Syntax - Function Parameters
Files Affected: 4 (dijkstra, tsp, topological_sort, graph_analytics)
Scientific Impact
🔴 CRITICAL - Blocks 16.7% of validated algorithms (4/24 v189 files)
Blocked: Graph algorithms, optimization problems, data science analytics
Code Example
v1.89.0 ✅ Worked:
```ruchy
fun add_edge(matrix: [i32; 25], from: i32, to: i32, weight: i32) -> [i32; 25] { }
```
v3.62.12 ❌ Error:
```
Syntax error: Function parameters must be simple identifiers or destructuring patterns
```
Proposed Workarounds
Option 1: References `matrix: &[i32; 25]` ⏳
Option 2: Wrapper struct ⏳
Option 3: Global state ❌ (breaks formal verification)
Migration Priority
Target: Sprint 35 Day 3 (Oct 3)
Success: Restore 4 files → 68.3% success rate
See: `docs/BREAKING_CHANGES_V3.md`