Andrej Mitrovic
c2c95ca991
Merge pull request #1165 from andralex/5410
...
Fix Issue 5410 - Variant.convertsTo(const(char)[]) seems broke
2013-10-24 14:14:30 -07:00
Andrej Mitrovic
5756025d64
Merge pull request #1222 from 9rnsr/categorize_traits
...
Add category table in std.traits
2013-10-24 13:49:53 -07:00
monarchdodra
8751ccfb0c
Revert "Fix for issue 11108"
...
This reverts commit c930d8bd5e
.
2013-10-12 13:40:27 +02:00
monarch dodra
9c393a88f6
Merge pull request #1622 from denis-sh/fix-std.traits-eol-fixup-pull-1261
...
[Whitespace] Fix CRLF EOLs in `std.traits`.
2013-10-09 07:05:15 -07:00
Denis Shelomovskij
c930d8bd5e
[Workaround] Disable some tests because of Issue 11202.
...
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11202
2013-10-09 11:54:33 +04:00
Denis Shelomovskij
2e75d66c6e
Fix pull #1598 .
2013-10-09 11:53:40 +04:00
Denis Shelomovskij
bf640ea8bc
Revert "Merge pull request #1621 from monarchdodra/undoHasElaborate"
...
This reverts commit 2f65b41d41
, reversing
changes made to 561d266f48
.
2013-10-09 11:39:47 +04:00
Denis Shelomovskij
9a18458d50
[Whitespace] Fix CRLF EOLs in std.traits
.
...
CRLF EOLs were introduced in ea72723850
commit of pull #1261 .
2013-10-09 11:31:25 +04:00
monarchdodra
396d629120
Revert "Fix Issue 11108 - hasElaborateAssign
should check whether the type is assignable"
...
This reverts commit e82724d740d223b52be2800eeec8d5ed4f673dfb.
2013-10-09 08:10:37 +02:00
Andrei Alexandrescu
561d266f48
Merge pull request #1598 from denis-sh/fix-Issue-11108
...
Fix Issue 11108 - `hasElaborateAssign` should check whether the type is assignable
2013-10-08 21:50:56 -07:00
Denis Shelomovskij
8e8524a9a8
Clarify isAssignable
documentation. Add private isRvalueAssignable
and isLvalueAssignable
.
...
Previously `isAssignable` worked like `isLvalueAssignable`.
Also add some unittests.
2013-10-08 21:11:09 +04:00
Denis Shelomovskij
7ed5b543bb
[Refactor] Remove redundant parantheses in std.traits.isAssignable
unittest.
2013-10-03 01:55:44 +04:00
Denis Shelomovskij
0b7f67e8b0
Use documented unittests for std.traits.isAssignable
.
2013-10-03 01:55:44 +04:00
Hara Kenji
8b74811d67
Merge pull request #1261 from denis-sh/add-lvalue-rvalue-traits
...
Add lvalue/rvalue traits
2013-10-02 08:11:18 -07:00
Andrej Mitrovic
be3a5f79e0
Merge pull request #1595 from rainers/reenable_demangle_test
...
reenable unittest for mangle/demangle
2013-09-28 03:03:39 -07:00
k-hara
56c2d36bbc
Add package QualifierOf template for internal use
2013-09-26 13:53:06 +09:00
monarchdodra
a165e05fe3
Fix FunctionAttribute DDoc
2013-09-24 14:00:14 +02:00
Denis Shelomovskij
04768f0df6
Use std.traits.{rvalueOf,lvalueOf}
in std.traits.hasElaborateAssign
.
2013-09-23 23:54:12 +04:00
Denis Shelomovskij
ea72723850
Add rvalueOf
/lvalueOf
traits.
2013-09-23 23:54:12 +04:00
Denis Shelomovskij
76fcee3a66
Fix Issue 11108 - hasElaborateAssign
should check whether the type is assignable
...
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11108
2013-09-23 14:40:06 +04:00
Rainer Schuetze
c3ee7759c7
reenable unittest for mangle/demangle
2013-09-22 19:52:24 +02:00
Andrej Mitrovic
9837043cfc
Merge pull request #1592 from rainers/demangle_local
...
fix issues 10277 & 6045:improve demangling for function local symbols
2013-09-21 06:15:04 -07:00
Rainer Schuetze
8518a39649
temporarily disable demangle unittest
2013-09-21 15:08:33 +02:00
Rainer Schuetze
8a8413b758
adjust to changes in druntime by https://github.com/D-Programming-Language/druntime/pull/611
2013-09-21 14:27:05 +02:00
monarchdodra
a02e6cb2b5
indentation and spacing
2013-09-21 09:03:25 +02:00
monarchdodra
0f12dc4e9f
remove unnecessary test in CharTypeOf
2013-09-20 14:57:01 +02:00
monarchdodra
7dabb2c230
Fix typo in comment
2013-09-20 09:40:03 +02:00
monarch dodra
b001c0a786
Merge pull request #1525 from lyrebirdsw/issue_10909
...
issue 10909 toImpl narrowing conversion support for bool type. mostNegative support for bool type
2013-09-04 07:57:22 -07:00
Andrej Mitrovic
fe0cf33b9f
Add doc note about EnumMembers returning duplicate member values.
2013-09-02 16:30:00 +02:00
Simen Kjærås
0d7d603bde
Undo some changes to work around bug. Oh well.
2013-08-30 12:35:41 +02:00
growler
dcb634e8a2
issue 10909 toImpl support for bool narrowing conversion. mostNegative support for bool.
2013-08-27 21:05:00 +10:00
Simen Kjærås
fcffe804f8
Merge remote-tracking branch 'upstream/master'
2013-08-15 21:48:27 +02:00
Kapps
fd177fd4f7
Fix issue 10800
2013-08-11 14:48:32 -06:00
Yazan S. Dabain
735d0e33c8
Fixes issue #9967 - ParameterIdentifierTuple broken for setters
2013-07-22 09:19:22 +03:00
Simen Kjærås
4e2527febd
EnumMembers now works with single-member enums.
2013-07-09 19:38:07 +02:00
Simen Kjærås
3432b6113f
Fix std.traits for large input
...
std.traits: EnumMembers, isExpressionTuple, isTypeTuple & Largest balks
at large input
2013-07-08 13:39:56 +02:00
k-hara
505ab39a1d
fix Issue 10544 - writeln!(inout(int)) does not work
2013-07-08 15:29:59 +09:00
Hara Kenji
1b230c39c5
Merge pull request #1341 from jmdavis/signed
...
Implement issue# 10314 (add std.traits.signed).
2013-07-04 01:37:01 -07:00
jmdavis
378fe78352
Implement issue# 10314.
...
This moves std.traits.unsigned to std.conv and adds std.conv.signed,
since for some reason, we have std.traits.unsigned but do not have
std.traits.signed.
2013-06-19 08:47:41 -07:00
Dicebot
517b3af59e
Fix 10355: Moved test case to proper block, added one for enum member
2013-06-14 13:22:23 +02:00
Dicebot
91d549ccae
Fix 10355: fullyQualifiedName was handling enums as other basic types
2013-06-14 10:04:11 +02:00
Hara Kenji
7b85f7a479
Merge pull request #1260 from denis-sh/fix-std.traits.hasElaborate-docs
...
Fix `std.traits.hasElaborate*` docs
2013-04-29 05:02:16 -07:00
k-hara
9e178000a4
Enable test for issue 8321
2013-04-24 15:56:41 +09:00
David Nadlinger
8391dcbc6b
Merge pull request #1262 from denis-sh/use-FieldTypeTuple!S
-instead-of-typeof(S.tupleof)
...
Use `FieldTypeTuple!S` instead of `typeof(S.tupleof)`.
2013-04-23 01:08:58 -07:00
Denis Shelomovskij
75736f1370
[Refactoring] Use FieldTypeTuple!S
instead of typeof(S.tupleof)
.
...
`FieldTypeTuple` is what have to be used when searching through fields as it ignores hidden fields which we don't need here.
Replace in `std.traits.hasElaborate{CopyConstructor,Assign,Destructor}`. This is a refactoring change as hidden fields didn't affect these templates behaviour.
2013-04-23 12:06:37 +04:00
Denis Shelomovskij
d13a02e439
Fix std.traits.hasElaborateAssign
for static arrays.
2013-04-17 23:12:09 +04:00
Denis Shelomovskij
e68de377fa
Document compiler-generated opAssign
for std.traits.hasElaborateAssign
.
...
* also add unittests
2013-04-17 19:43:17 +04:00
Denis Shelomovskij
82dd61c0f6
Fix std.traits.hasElaborate*
docs for static arrays.
2013-04-17 19:43:17 +04:00
Andrej Mitrovic
320b73a39d
Fixes Issue 9839 - Select should be able to select symbols.
2013-03-31 13:06:00 +02:00
Denis Shelomovskij
519fdae818
Add std.traits.isNestedFunction
.
...
As I see no cases where nestidness check for both types and functions is required a new `isNestedFunction` template is created instead if adding an overload to `isNested`.
2013-03-25 20:19:44 +04:00