diff options
| author | r00ster91 <r00ster91@proton.me> | 2022-10-05 21:17:06 +0200 |
|---|---|---|
| committer | r00ster91 <r00ster91@proton.me> | 2022-10-05 21:33:42 +0200 |
| commit | 8e2aaf6aed5213736f6cbbb374098e2394f19429 (patch) | |
| tree | e7385e628e35a662f2e5595ddd5aa32b66d08168 /src/Sema.zig | |
| parent | 51d9db856978610c24b3fed50a9550455a2eb64b (diff) | |
| download | zig-8e2aaf6aed5213736f6cbbb374098e2394f19429.tar.gz zig-8e2aaf6aed5213736f6cbbb374098e2394f19429.zip | |
fix(text): hyphenate "runtime" adjectives
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index df0ab8ef9a..7501e79b3c 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -4326,7 +4326,7 @@ fn zirValidateDeref(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileErr const msg = try sema.errMsg( block, src, - "values of type '{}' must be comptime-known, but operand value is runtime known", + "values of type '{}' must be comptime-known, but operand value is runtime-known", .{elem_ty.fmt(sema.mod)}, ); errdefer msg.destroy(sema.gpa); @@ -22602,7 +22602,7 @@ fn validateRuntimeElemAccess( const msg = try sema.errMsg( block, elem_index_src, - "values of type '{}' must be comptime-known, but index value is runtime known", + "values of type '{}' must be comptime-known, but index value is runtime-known", .{parent_ty.fmt(sema.mod)}, ); errdefer msg.destroy(sema.gpa); @@ -27177,7 +27177,7 @@ fn cmpNumeric( }; // TODO handle comparisons against lazy zero values - // Some values can be compared against zero without being runtime known or without forcing + // Some values can be compared against zero without being runtime-known or without forcing // a full resolution of their value, for example `@sizeOf(@Frame(function))` is known to // always be nonzero, and we benefit from not forcing the full evaluation and stack frame layout // of this function if we don't need to. |
