authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-11-10 01:34:48+00:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-11-10 06:51:48+00:00
loge9b3fcaa4315a9c0c1d916a23267728d4d9ae550
treeb627c95633aa8cceb1a8adfcce84d1a0d60f375d
parent6b9f7e26c9e43700225b7c2479305015df75a2b9

Sema: remove unused function


1 files changed, 0 insertions(+), 15 deletions(-)

src/Sema.zig-15
......@@ -7766,21 +7766,6 @@ fn analyzeInlineCallArg(
77667766 return null;
77677767}
77687768
7769fn analyzeCallArg(
7770 sema: *Sema,
7771 block: *Block,
7772 arg_src: LazySrcLoc,
7773 param_ty: Type,
7774 uncasted_arg: Air.Inst.Ref,
7775 opts: CoerceOpts,
7776) !Air.Inst.Ref {
7777 try sema.resolveTypeFully(param_ty);
7778 return sema.coerceExtra(block, param_ty, uncasted_arg, arg_src, opts) catch |err| switch (err) {
7779 error.NotCoercible => unreachable,
7780 else => |e| return e,
7781 };
7782}
7783
77847769fn instantiateGenericCall(
77857770 sema: *Sema,
77867771 block: *Block,