Represent unknown types as {unknown} instead of [unknown]

Since the latter could actually be a real type...
This commit is contained in:
Florian Diebold 2019-03-02 20:55:56 +01:00
parent b7fdad8448
commit affaf7700a
29 changed files with 172 additions and 172 deletions

View file

@ -474,7 +474,7 @@ mod tests {
);
let type_name = analysis.type_of(range).unwrap().unwrap();
assert_eq!("[unknown]", &type_name);
assert_eq!("{unknown}", &type_name);
}
#[test]