Skip to content

Commit 4878ea8

Browse files
committed
support @nogc in debug{} blocks
1 parent 3532f29 commit 4878ea8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/function.dd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,6 +2457,10 @@ $(H2 $(LNAME2 nogc-functions, No-GC Functions))
24572457
}
24582458
---
24592459

2460+
$(P To ease debugging,
2461+
in a $(GLINK2 version, ConditionalStatement)
2462+
controlled by a $(GLINK2 version, DebugCondition)
2463+
`@nogc` functions can call functions that are not `@nogc`.)
24602464

24612465
$(H2 $(LNAME2 function-safety, Function Safety))
24622466

0 commit comments

Comments
 (0)