FuelLabs / FuelLabs/sway

Blanket implementations not working properly

Open
#4,792 0 comments 0 reactions 0 assignees View on GitHub
bug compiler: frontend team:compiler
Dominant language
Rust
Stars
61.4k
Forks
5.4k
Avg merge
3h 33m
Merged PRs (30d)
4

Description

As can be seen in this pr: https://github.com/FuelLabs/sway/pull/4786, despite implementing the `Cmp` trait for all `T: OrdEq`, and despite `u64` implementing `OrdEq`, `u64` cannot access the `cmp` method

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.