Permalink
Browse files

Fixes Issue 8969 - Document __parameters in is expression.

  • Loading branch information...
AndrejMitrovic committed Nov 6, 2012
1 parent bf85703 commit bb80d6e14fca7bc56f8dd9cb2d8ddb6409ba5b48
Showing with 12 additions and 3 deletions.
  1. +8 −2 expression.dd
  2. +4 −1 lex.dd
View
@@ -948,7 +948,7 @@ int main() {
// [1,0,0,0,2,0,0,0,3,0,0,0]
writefln(d);
return 0;
-}
+}
---
)
$(V2
@@ -965,7 +965,7 @@ int main() {
// [1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0]
writeln(d);
return 0;
-}
+}
---
)
$(P Casting a floating point literal from one type to another
@@ -1709,6 +1709,7 @@ $(V2 $(B const)
$(B inout)
$(B shared)
$(B return)
+ $(B __parameters)
))
$(I IsExpression)s are evaluated at compile time and are
@@ -1948,6 +1949,11 @@ $(V1 $(TR
$(TD the return type of the function, delegate, or function pointer)
)
$(V2
+ $(TR
+ $(TD $(CODE __parameters))
+ $(TD the parameter tuple of a function, delegate, or function pointer.
+ This includes the parameter types, names, and default values.)
+ )
$(TR
$(TD $(CODE const))
$(TD $(I Type))
View
5 lex.dd
@@ -1082,12 +1082,15 @@ $(V2
$(B wchar)
$(B while)
$(B with)
+
$(V2
$(B __FILE__)
$(B __LINE__)
$(B __gshared)
$(B __thread)
- $(B __traits))
+ $(B __traits)
+ $(B __vector)
+ $(B __parameters))
)
<h3>$(LNAME2 specialtokens, Special Tokens)</h3>

0 comments on commit bb80d6e

Please sign in to comment.