From b97af4e695b0cb0663ff942791ed2bd684ea93da Mon Sep 17 00:00:00 2001 From: Razvan Nitu Date: Tue, 24 Oct 2017 09:23:06 +0300 Subject: [PATCH 1/2] Update traits.dd --- spec/traits.dd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/traits.dd b/spec/traits.dd index bc7a5b28b6..0d6344d155 100644 --- a/spec/traits.dd +++ b/spec/traits.dd @@ -22,6 +22,7 @@ $(GNAME TraitsKeyword): $(GBLINK isFinalClass) $(GBLINK isPOD) $(GBLINK isNested) + $(GBLINK isFuture) $(GBLINK isFloating) $(GBLINK isIntegral) $(GBLINK isScalar) @@ -192,6 +193,12 @@ $(H2 $(GNAME isNested)) $(DDSUBLINK spec/struct, nested, structs), and $(DDSUBLINK spec/function, variadicnested, functions).) +$(H2 $(GNAME isFuture)) + + $(P Takes one argument. It returns $(D true) if the argument is a symbol + marked with the $(D @future) keyword, otherwise $(D false). Currently, only + functions and variable declarations have support for the $(D @future) keyword.) + $(H2 $(GNAME isVirtualFunction)) $(P The same as $(GLINK isVirtualMethod), except From f1019717eb3f61874d2bf91a96017620c4d0204a Mon Sep 17 00:00:00 2001 From: Andrei Alexandrescu Date: Tue, 24 Oct 2017 08:36:05 -0400 Subject: [PATCH 2/2] Use backticks where convenient. --- spec/traits.dd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/traits.dd b/spec/traits.dd index 0d6344d155..dc18a4bd10 100644 --- a/spec/traits.dd +++ b/spec/traits.dd @@ -195,9 +195,9 @@ $(H2 $(GNAME isNested)) $(H2 $(GNAME isFuture)) - $(P Takes one argument. It returns $(D true) if the argument is a symbol - marked with the $(D @future) keyword, otherwise $(D false). Currently, only - functions and variable declarations have support for the $(D @future) keyword.) + $(P Takes one argument. It returns `true` if the argument is a symbol + marked with the `@future` keyword, otherwise `false`. Currently, only + functions and variable declarations have support for the `@future` keyword.) $(H2 $(GNAME isVirtualFunction))