mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 16:45:27 +00:00
sema: fix typo
This commit is contained in:
parent
85e3204344
commit
14f4c73191
@ -20577,7 +20577,7 @@ fn requireFunctionBlock(sema: *Sema, block: *Block, src: LazySrcLoc) !void {
|
||||
fn requireRuntimeBlock(sema: *Sema, block: *Block, src: LazySrcLoc, runtime_src: ?LazySrcLoc) !void {
|
||||
if (block.is_comptime) {
|
||||
const msg = msg: {
|
||||
const msg = try sema.errMsg(block, src, "unable to evalutate comptime expression", .{});
|
||||
const msg = try sema.errMsg(block, src, "unable to evaluate comptime expression", .{});
|
||||
errdefer msg.destroy(sema.gpa);
|
||||
|
||||
if (runtime_src) |some| {
|
||||
|
@ -14,5 +14,5 @@ fn doSomeAsm() void {
|
||||
// backend=llvm
|
||||
// target=native
|
||||
//
|
||||
// :6:5: error: unable to evalutate comptime expression
|
||||
// :6:5: error: unable to evaluate comptime expression
|
||||
// :2:14: note: called from here
|
||||
|
Loading…
Reference in New Issue
Block a user