pointer type

This commit is contained in:
Dylan Conway
2023-01-12 13:59:27 -08:00
parent 29b4c84b8c
commit fbe3f5dfb3

View File

@@ -1772,7 +1772,7 @@ pub const DescribeScope = struct {
var scope = allocator.create(DescribeScope) catch unreachable;
scope.* = .{
.label = (label.toSlice(allocator).cloneIfNeeded(allocator) catch unreachable).slice(),
.parent = active orelse this,
.parent = active,
.file_id = this.file_id,
};
var new_this = DescribeScope.Class.make(ctx, scope);