Skip to content

Commit 959d9a1

Browse files
authored
Merge pull request #2205 from wilzbach/nogc-debug
Support @nogc in debug{} blocks merged-on-behalf-of: Mike Franklin <JinShil@users.noreply.github.com>
2 parents bbf1031 + 4878ea8 commit 959d9a1

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)