You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compilable/vgc1.d(36): vgc: `new` causes a GC allocation
15
+
compilable/vgc1.d(27): vgc: `new` causes a GC allocation
16
+
compilable/vgc1.d(29): vgc: `new` causes a GC allocation
17
+
compilable/vgc1.d(30): vgc: `new` causes a GC allocation
18
+
compilable/vgc1.d(32): vgc: `new` causes a GC allocation
19
+
compilable/vgc1.d(33): vgc: `new` causes a GC allocation
20
+
compilable/vgc1.d(34): vgc: `new` causes a GC allocation
25
21
compilable/vgc1.d(38): vgc: `new` causes a GC allocation
26
-
compilable/vgc1.d(39): vgc: `new` causes a GC allocation
27
-
compilable/vgc1.d(41): vgc: `new` causes a GC allocation
28
-
compilable/vgc1.d(42): vgc: `new` causes a GC allocation
29
-
compilable/vgc1.d(43): vgc: `new` causes a GC allocation
30
-
compilable/vgc1.d(47): vgc: `new` causes a GC allocation
31
22
---
32
23
*/
33
24
@@ -50,12 +41,12 @@ void testNew()
50
41
/*
51
42
TEST_OUTPUT:
52
43
---
53
-
compilable/vgc1.d(64): vgc: `new` causes a GC allocation
54
-
compilable/vgc1.d(66): vgc: `new` causes a GC allocation
55
-
compilable/vgc1.d(67): vgc: `new` causes a GC allocation
56
-
compilable/vgc1.d(69): vgc: `new` causes a GC allocation
57
-
compilable/vgc1.d(70): vgc: `new` causes a GC allocation
58
-
compilable/vgc1.d(71): vgc: `new` causes a GC allocation
44
+
compilable/vgc1.d(55): vgc: `new` causes a GC allocation
45
+
compilable/vgc1.d(57): vgc: `new` causes a GC allocation
46
+
compilable/vgc1.d(58): vgc: `new` causes a GC allocation
47
+
compilable/vgc1.d(60): vgc: `new` causes a GC allocation
48
+
compilable/vgc1.d(61): vgc: `new` causes a GC allocation
49
+
compilable/vgc1.d(62): vgc: `new` causes a GC allocation
59
50
---
60
51
*/
61
52
@@ -83,9 +74,12 @@ void testNewScope()
83
74
/*
84
75
TEST_OUTPUT:
85
76
---
86
-
compilable/vgc1.d(93): vgc: `delete` requires the GC
87
-
compilable/vgc1.d(94): vgc: `delete` requires the GC
88
-
compilable/vgc1.d(95): vgc: `delete` requires the GC
77
+
compilable/vgc1.d(87): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
78
+
compilable/vgc1.d(87): vgc: `delete` requires the GC
79
+
compilable/vgc1.d(88): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
80
+
compilable/vgc1.d(88): vgc: `delete` requires the GC
81
+
compilable/vgc1.d(89): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
82
+
compilable/vgc1.d(89): vgc: `delete` requires the GC
0 commit comments