mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 10:06:43 +00:00
Revert "Remove : from vars in exec semantics (#504)"
This reverts commit 05663633d3.
This commit is contained in:
1 parent
c903eb3133
commit
da403db9ff
61 files changed
+136
-144
No files matched your search
+1
-1
@@ -5,7 +5,7 @@
|
||||
// Test that mutations to a global variable in one function is visible
|
||||
// in another function.
|
||||
|
||||
var Int flag = 1;
|
||||
var Int: flag = 1;
|
||||
|
||||
fn flipFlag() -> () {
|
||||
flag = 0;
|
||||
|
||||
Reference in new issue
Block a user