bytecodealliance / bytecodealliance/wit-bindgen
C# Gen variant contains tag method (Build fails because of two members named "Tag")
- Lingua principale
- Rust
- Stelle
- 1.5k
- Fork
- 286
- Merge medio
- 6h 32m
- PR unite (30g)
- 19
Descrizione
This wit file contains a variant which has a method called tag. The generated class has also a variable called "Tag" the compiler throws an error because two members have the same name. Because the Tag variable isn't part of the wit file and just a variable from the generator this needs to be fixed.
Expected behavior would be that the generator calls his own variable in ways that it doesn't effect the defined method/variable from the WIT definition.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia individuando il codice del generatore C# che emette il membro Tag generato della variante, quindi riproduci il caso WIT in cui una variante definisce anche un metodo Tag. Verifica che la classe generata venga compilata e conservi il membro definito in WIT senza collisioni di nomi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, rust
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 58/100