carbon-lang
carbon-lang copied to clipboard
Array constructor is the same as typle constructor
Array definition: https://github.com/carbon-language/carbon-lang/blob/2fa74f1d71e9ffda42f3459917ed265439c2bd6f/explorer/testdata/array/index.carbon#L15 Tuple constructor: https://github.com/carbon-language/carbon-lang/blob/2fa74f1d71e9ffda42f3459917ed265439c2bd6f/explorer/testdata/generic_function/swap.carbon#L15
I'm a bit confused with these definitions... What is about usage of traditional square brackets in array constructors?