mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:34:41 +01:00
Revert "Remove : from vars in exec semantics (#504)"
This reverts commit 05663633d3.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
// Test creating and running a continuation.
|
||||
|
||||
fn main() -> Int {
|
||||
var Int x = 0;
|
||||
var Int: x = 0;
|
||||
__continuation k {
|
||||
x = x + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user