Sema: remove unused src param from typeRequiresComptime

This commit is contained in:
Veikka Tuominen committed 2022-09-02 19:49:11 +03:00
1 parent f281f3d10e
commit 6aee07c144
3 files changed
+35 -35

No files matched your search

+1 -1
View File
@@ -4635,7 +4635,7 @@ fn semaDecl(mod: *Module, decl_index: Decl.Index) !bool {
decl.analysis = .complete;
decl.generation = mod.generation;
const has_runtime_bits = try sema.fnHasRuntimeBits(&block_scope, ty_src, decl.ty);
const has_runtime_bits = try sema.fnHasRuntimeBits(decl.ty);
if (has_runtime_bits) {
// We don't fully codegen the decl until later, but we do need to reserve a global