Revert "Remove : from vars in exec semantics (#504)"

This reverts commit 05663633d3.
This commit is contained in:
Richard Smith
2021-06-02 11:33:50 -07:00
parent c903eb3133
commit da403db9ff
61 changed files with 136 additions and 144 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
fn main() -> Int {
var (.x = Int, .y = Int) t2 = (.x = 2, .y = 5);
var (.x = Int, .y = Int): t2 = (.x = 2, .y = 5);
t2.y = 3;
return t2.y - t2.x - 1; // 3 - 2 - 1
}