mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Str.concat tests and definition set up
This commit is contained in:
parent
27b2d10b2a
commit
a81504720b
7 changed files with 68 additions and 2 deletions
|
@ -1043,8 +1043,8 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
unique_function(vec![str_type(star1)], bool_type(star2))
|
||||
});
|
||||
|
||||
// append : Attr * Str, Attr * Str -> Attr * Str
|
||||
add_type(Symbol::STR_APPEND, {
|
||||
// Str.concat : Attr * Str, Attr * Str -> Attr * Str
|
||||
add_type(Symbol::STR_CONCAT, {
|
||||
let_tvars! { star1, star2, star3 };
|
||||
unique_function(vec![str_type(star1), str_type(star2)], str_type(star3))
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue