This commit is contained in:
Folkert 2021-05-07 11:00:15 +02:00
parent 9a5c20b7c3
commit fecb83b9c2
15 changed files with 45 additions and 41 deletions

View file

@ -149,8 +149,8 @@ pub fn can_problem<'b>(
let (doc, title) = crate::error::r#type::cyclic_alias(alloc, symbol, region, others);
return Report {
filename,
title,
filename,
doc,
};
}

View file

@ -40,8 +40,8 @@ pub fn type_problem<'b>(
.append(alloc.reflow("."));
Report {
filename,
title,
filename,
doc,
}
}
@ -85,8 +85,8 @@ pub fn type_problem<'b>(
};
Report {
filename,
title,
filename,
doc,
}
}
@ -94,8 +94,8 @@ pub fn type_problem<'b>(
let (doc, title) = cyclic_alias(alloc, symbol, region, others);
Report {
filename,
title,
filename,
doc,
}
}