move-language / move

Apache License 2.0
2.25k stars 684 forks source link

[printing] fix bug in StructTag::struct_to_canonical_string #917

Closed sblackshear closed 1 year ago

sblackshear commented 1 year ago

Previously, a type instantiation w/ >1 type parameters was printed without a separator (e.g., S<u64bool> instead of S<u64,bool>for S<T1,T2> instantiated with u64 and bool). This PR adds a comma separator and a test.