Skip to content

Commit

Permalink
Fix ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubark committed Jul 10, 2024
1 parent 54ae7b9 commit 1d68786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ir.zig
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ pub const ExprType = packed struct {
throws: bool,

pub fn init(id: cy.TypeId) ExprType {
return .{ .id = @intCast(id), .throws = false };
return .{ .id = @truncate(id), .throws = false };
}

pub fn initThrows(id: cy.TypeId) ExprType {
return .{ .id = @intCast(id), .throws = true };
return .{ .id = @truncate(id), .throws = true };
}
};

Expand Down

0 comments on commit 1d68786

Please sign in to comment.