| author | |
| committer | |
| log | 89c41f30c3e62e8b5c03457d1f95dc115a27ef15 |
| tree | 6ce8060db13237523533bb8520dad2c913e94a9a |
| parent | a5007d819a0bd4d247602786a36cabae821f52b9 |
2 files changed, 1 insertions(+), 2 deletions(-)
lib/std/meta.zig+1-1| ... | ... | @@ -1337,7 +1337,7 @@ test "shuffleVectorIndex" { |
| 1337 | 1337 | |
| 1338 | 1338 | /// Returns whether `error_union` contains an error. |
| 1339 | 1339 | pub fn isError(error_union: anytype) bool { |
| 1340 | return if(error_union) |_| false else |_| true; | |
| 1340 | return if (error_union) |_| false else |_| true; | |
| 1341 | 1341 | } |
| 1342 | 1342 | |
| 1343 | 1343 | test "isError" { |
src/translate_c.zig-1| ... | ... | @@ -2358,7 +2358,6 @@ fn transInitListExprVector( |
| 2358 | 2358 | expr: *const clang.InitListExpr, |
| 2359 | 2359 | ty: *const clang.Type, |
| 2360 | 2360 | ) TransError!Node { |
| 2361 | ||
| 2362 | 2361 | const qt = getExprQualType(c, @ptrCast(*const clang.Expr, expr)); |
| 2363 | 2362 | const vector_type = try transQualType(c, scope, qt, loc); |
| 2364 | 2363 | const init_count = expr.getNumInits(); |