Represent unknown types as {unknown} instead of [unknown]
Since the latter could actually be a real type...
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user