mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 19:42:39 +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
+2
-2
@@ -4,9 +4,9 @@
|
||||
|
||||
// Test overshadowing of global variable.
|
||||
|
||||
var Int x = 1;
|
||||
var Int: x = 1;
|
||||
|
||||
fn identity(Int x) {
|
||||
fn identity(Int: x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user