Fixed inlining determination test (#972)
When deciding wether we should inline a scope, look up the parents until we get to a function definition scope
This commit is contained in:
committed by
Andrew Kelley
parent
02c1b9df3b
commit
131c133bb7
@@ -52,4 +52,5 @@ comptime {
|
||||
_ = @import("cases/var_args.zig");
|
||||
_ = @import("cases/void.zig");
|
||||
_ = @import("cases/while.zig");
|
||||
_ = @import("cases/fn_in_struct_in_comptime.zig");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user