Implement generic type aliases
Open
compiler: frontend
language feature
team:compiler
- Dominant language
- Rust
- Stars
- 61.4k
- Forks
- 5.4k
- Avg merge
- 3h 33m
- Merged PRs (30d)
- 4
Description
https://github.com/FuelLabs/sway/pull/4151 implements type aliases but does not allow generic type aliases. For example:
```rust
type MyResult = Result;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading pull request #4151 to understand the existing type-alias implementation and then trace how the generic example in this issue is parsed and handled. The work is complete when a declaration such as `type MyResult = Result;` is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100