mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
fix bug in list repeat type
This commit is contained in:
parent
dc5eec189c
commit
c3a681d1f0
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
||||||
add_type(
|
add_type(
|
||||||
Symbol::LIST_REPEAT,
|
Symbol::LIST_REPEAT,
|
||||||
top_level_function(
|
top_level_function(
|
||||||
vec![nat_type(), flex(TVAR2)],
|
vec![nat_type(), flex(TVAR1)],
|
||||||
Box::new(list_type(flex(TVAR1))),
|
Box::new(list_type(flex(TVAR1))),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue