Move Int parsing to i32 for #543 (#700)

Note this doesn't support other sizes or types, it just errors on them.

Co-authored-by: Geoff Romer <gromer@google.com>
This commit is contained in:
Jon Meow
2021-08-05 09:34:12 -07:00
committed by GitHub
co-authored by Geoff Romer
parent 7e91fbc276
commit 2620ba066d
100 changed files with 212 additions and 202 deletions
+3 -3
View File
@@ -3,10 +3,10 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
struct Point {
var x: Int;
var y: Int;
var x: i32;
var y: i32;
}
fn main() -> Int {
fn main() -> i32 {
return Point(.x = 1, .y = 2).x - 1;
}