mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder
This commit is contained in:
commit
b74fc3554b
35 changed files with 359 additions and 1204 deletions
|
@ -1214,11 +1214,11 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
);
|
||||
|
||||
fn until_type(content: SolvedType) -> SolvedType {
|
||||
// [LT, EQ, GT]
|
||||
// [Continue, Break]
|
||||
SolvedType::TagUnion(
|
||||
vec![
|
||||
(TagName("Continue".into()), vec![content.clone()]),
|
||||
(TagName("Stop".into()), vec![content]),
|
||||
(TagName("Break".into()), vec![content]),
|
||||
],
|
||||
Box::new(SolvedType::EmptyTagUnion),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue