This commit is contained in:
xackus
2021-04-11 20:16:17 +02:00
parent a5007d819a
commit 89c41f30c3
2 changed files with 1 additions and 2 deletions

View File

@@ -1337,7 +1337,7 @@ test "shuffleVectorIndex" {
/// Returns whether `error_union` contains an error.
pub fn isError(error_union: anytype) bool {
return if(error_union) |_| false else |_| true;
return if (error_union) |_| false else |_| true;
}
test "isError" {

View File

@@ -2358,7 +2358,6 @@ fn transInitListExprVector(
expr: *const clang.InitListExpr,
ty: *const clang.Type,
) TransError!Node {
const qt = getExprQualType(c, @ptrCast(*const clang.Expr, expr));
const vector_type = try transQualType(c, scope, qt, loc);
const init_count = expr.getNumInits();