mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:34:41 +01:00
Reverse 'type: identifier' to 'identifier: type' in executable
semantics.
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@
|
||||
// Test the that field order matters for tuples.
|
||||
|
||||
fn main() -> Int {
|
||||
var (.x = Int, .y = Int): t = (.y = 2, .x = 3);
|
||||
var t: (.x = Int, .y = Int) = (.y = 2, .x = 3);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user