Commit e9b3fcaa43

mlugg <mlugg@mlugg.co.uk>
2023-11-10 02:34:48
Sema: remove unused function
1 parent 6b9f7e2
Changed files (1)
src/Sema.zig
@@ -7766,21 +7766,6 @@ fn analyzeInlineCallArg(
     return null;
 }
 
-fn analyzeCallArg(
-    sema: *Sema,
-    block: *Block,
-    arg_src: LazySrcLoc,
-    param_ty: Type,
-    uncasted_arg: Air.Inst.Ref,
-    opts: CoerceOpts,
-) !Air.Inst.Ref {
-    try sema.resolveTypeFully(param_ty);
-    return sema.coerceExtra(block, param_ty, uncasted_arg, arg_src, opts) catch |err| switch (err) {
-        error.NotCoercible => unreachable,
-        else => |e| return e,
-    };
-}
-
 fn instantiateGenericCall(
     sema: *Sema,
     block: *Block,