Lower fixed arrays and checked indexing in Whale
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading related issue #879 and the compiler’s HIR, typed-pointer lowering, and existing indexing/conversion paths; the payload does not name specific files or tests. Discuss the design with @LunaStev before implementation. Done means fixed-array construction, reads and writes, and nested arrays are verified, existing indexing and conversion semantics are preserved, and unsupported element types remain clear.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Motivation
At fd07427f4a976de05e38eff3ee1760db97fbb761 on Linux amd64 with Rust 1.89 and locked Whale 020d2a4, lexing, parsing and TypedProgram lowering succeed, but calling whale::emit_ir on this source returns Whale backend does not yet support type Array(Int(32), 2):
fun main() -> i32 { var x: array<i32, 2> = [1, 2]; return x[0]; }
Scope
Add Wave fixed-array construction/indexing using verified HIR element type, length and layout. Coordinate with typed-pointer lowering. Preserve existing Wave index behavior; no dynamic-array API or new bounds policy. This is Wave adaptation, separate from upstream frontend #157.
Difficulty: hard.
Completion criteria
- Verify construction, element reads/writes and nested fixed arrays.
- Match established indexing and conversion semantics.
- Keep unsupported element types clear.
Please mention @LunaStev to discuss the design before starting implementation.
Related pointer adaptation: #879.
- Lenguaje dominante
- Rust
- Estrellas
- 56
- Forks
- 21
- Merge medio
- 23 h 20 min
- PR fusionados (30 d)
- 45
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wavefnd/Wave
-
Reject unrepresentable POSIX listener descriptors before Unix-domain acceptPosiblemente ocupada @ShahadatTest la tomó hace 6 días. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
wavefnd/Wave#1082 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Preserve expression assembly result types when recording HIR conversionsPosiblemente ocupada @hiyouwhatsapp la tomó hace 2 días. Abiertobug help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 53/100
Los mantenedores suelen responder en 1 día
-
Preserve the previous build output when writing its Cargo receipt failsPosiblemente ocupada @hiyouwhatsapp la tomó hace 2 días. Abiertobug build help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
Los mantenedores suelen responder en 1 día
-
Reconcile obsolete staging assets before verifying a new Nightly generationPosiblemente ocupada @hiyouwhatsapp la tomó hace 2 días. Abiertobug ci help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de wavefnd/Wave
Issues similares
-
Unit tests use deprecated constant (part 2)Posiblemente ocupada @servo-highfive la tomó hoy. AbiertoE-less-complex
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
servo/servo#49766 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug good first issue help wanted linux macos testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
area: app type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
storytold/photocraft#12706 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug priority-low to-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día