mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Sema: remove unused src param from typeRequiresComptime
This commit is contained in:
1 parent
f281f3d10e
commit
6aee07c144
3 files changed
+35
-35
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user