diff options
| author | Vexu <git@vexu.eu> | 2020-04-17 22:02:49 +0300 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-04-17 22:02:49 +0300 |
| commit | 1afaf42525760edb78c287c216fda4aafc03d68f (patch) | |
| tree | 1069633e296b5f0e82161cd2458616dd43fac817 /src/ir.cpp | |
| parent | c026a9f6d254cb4b6cf5d75105f17e3c912e32c2 (diff) | |
| download | zig-1afaf42525760edb78c287c216fda4aafc03d68f.tar.gz zig-1afaf42525760edb78c287c216fda4aafc03d68f.zip | |
add error for non-exter variadic functions
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index e6334d39e7..c3a9840ceb 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -25375,7 +25375,7 @@ static ZigType *type_info_to_type(IrAnalyze *ira, IrInst *source_instr, ZigTypeI case ZigTypeIdBoundFn: case ZigTypeIdStruct: ir_add_error(ira, source_instr, buf_sprintf( - "@Type not availble for 'TypeInfo.%s'", type_id_name(tagTypeId))); + "@Type not available for 'TypeInfo.%s'", type_id_name(tagTypeId))); return ira->codegen->invalid_inst_gen->value->type; } zig_unreachable(); |
