mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
fix uniqueness signature
This commit is contained in:
parent
f71ea1cbda
commit
b4852c0f4f
1 changed files with 2 additions and 2 deletions
|
@ -675,12 +675,12 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
});
|
||||
|
||||
// contains : Attr * (List a)
|
||||
// , Attr Shared a
|
||||
// , Attr * a
|
||||
// -> Attr * Bool
|
||||
add_type(Symbol::LIST_CONTAINS, {
|
||||
let_tvars! { a, star1, star2 };
|
||||
|
||||
unique_function(vec![list_type(star1, a), shared(flex(a))], bool_type(star2))
|
||||
unique_function(vec![list_type(star1, a), flex(a)], bool_type(star2))
|
||||
});
|
||||
|
||||
// join : Attr * (List (Attr * (List a)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue