mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 16:31:04 +01:00
Revert "Remove : from vars in exec semantics (#504)"
This reverts commit 05663633d3.
This commit is contained in:
+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