Closed sblackshear closed 1 year ago
Previously, a type instantiation w/ >1 type parameters was printed without a comma 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.
S<u64bool>
S<u64,bool>
S<T1,T2>
u64
bool
(reported in https://github.com/move-language/move/issues/916)
Adding Aptos folks as reviewers to advise on whether this fix is ok as-is or creates a breaking change that should be managed.
I'll have to check when I get back home. From a quick glance, I don't remember if I implemented that function or not.
Indeed, not related to my work; see my (unrelated) changes to language_storage.rs here.
language_storage.rs
So LGTM
Previously, a type instantiation w/ >1 type parameters was printed without a comma separator (e.g.,
S<u64bool>
instead ofS<u64,bool>
forS<T1,T2>
instantiated withu64
andbool
). This PR adds a comma separator and a test.(reported in https://github.com/move-language/move/issues/916)
Adding Aptos folks as reviewers to advise on whether this fix is ok as-is or creates a breaking change that should be managed.