Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit f2711a3

Browse files
authored
Merge pull request #2142 from WalterBright/object-escape
object: fix escaping p
2 parents d1c85a3 + 79d60ee commit f2711a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4446,6 +4446,6 @@ unittest
44464446
}
44474447

44484448
int p;
4449-
scope arr = [S(&p)];
4449+
scope S[1] arr = [S(&p)];
44504450
auto a = arr.dup; // dup does escape
44514451
}

0 commit comments

Comments
 (0)