Sitelet https://github.com/starkware-libs/cairo/commit/6d10ce9e5faa6f7fee9692d4b2d9f58fe0175564
Skip to content

Commit 6d10ce9

Browse files
authored
(bug fix): close ']' in FixedSizeArray type short_name (#10172)
1 parent 55eae8a commit 6d10ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/cairo-lang-semantic/src/types.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ pub fn priv_type_short_name(db: &dyn Database, ty: TypeId<'_>) -> String {
12341234
format!("@{}", ty.short_name(db))
12351235
}
12361236
TypeLongId::FixedSizeArray { type_id, size } => {
1237-
format!("[{}; {:?}", type_id.short_name(db), size.debug(db))
1237+
format!("[{}; {:?}]", type_id.short_name(db), size.debug(db))
12381238
}
12391239
TypeLongId::NumericLiteral(_) => "{numeric}".to_string(),
12401240
other => other.format(db),

0 commit comments

Comments
 (0)