mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:34:45 +01:00
Reverse 'type: identifier' to 'identifier: type' in executable
semantics.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
// Test type checking of global variable. Error expected.
|
||||
|
||||
var Int: flag = true;
|
||||
var flag: Int = true;
|
||||
|
||||
fn main() -> Int {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user