amber-lang / amber-lang/amber

[Feature] Allow mix of generic and typed parameters in functions

Aperta
#824 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
5.2k
Fork
145
Merge medio
5g 3h
PR unite (30g)
7

Descrizione

**Is your feature request related to a problem? Please describe.**
As we currently don't support union types, developers should be allowed to use generic types in cases where union types would be a good fit.

**Describe the solution you'd like**
Remove the error saying: `Function '{name}' has a mix of generic and typed arguments`

**Additional context**
This error can later be introduced in a form of a warning to make it less strict than it is right now.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.