mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Fix 'implements' variable in types
This commit is contained in:
parent
cc611533e0
commit
d6d396b887
5 changed files with 61 additions and 1 deletions
|
@ -336,7 +336,11 @@ fn fmt_ty_ann(
|
|||
}
|
||||
TypeAnnotation::BoundVariable(v) => {
|
||||
buf.indent(indent);
|
||||
buf.push_str(v)
|
||||
if *v == "implements" {
|
||||
buf.push_str("(implements)");
|
||||
} else {
|
||||
buf.push_str(v);
|
||||
}
|
||||
}
|
||||
TypeAnnotation::Wildcard => {
|
||||
buf.indent(indent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue