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
k-hara
05048438c5
Add category table in std.traits
2013-03-25 20:21:52 +09:00
David Nadlinger
6bcb2f2f93
Merge pull request #948 from denis-sh/add-traits-for-nested-structs
...
Add `std.traits.{isNested,hasNested}`.
2013-03-23 14:04:20 -07:00
Andrei Alexandrescu
28fad77612
Merge pull request #1192 from AndrejMitrovic/Fix5359
...
Issue 5359 - isDelegate should work for types and expressions.
2013-03-09 15:58:55 -08:00
k-hara
3eecfd2b1e
fix Issue 3789 - Structs members that require non-bitwise comparison not correctly compared
2013-03-09 16:52:43 +09:00
Andrej Mitrovic
091a57650b
Fixes Issue 5359 - isDelegate should work for types and expressions.
2013-03-08 22:25:57 +01:00
Denis Shelomovskij
6a2c63bf51
Document what exactly std.traits.FieldTypeTuple
do.
2013-03-06 09:34:56 +04:00
Denis Shelomovskij
9365e706a0
Fix std.traits.FieldTypeTuple
for structs.
2013-03-06 09:34:56 +04:00
Denis Shelomovskij
fd17064603
Add std.traits.{isNested,hasNested}
.
2013-03-06 09:34:56 +04:00
Dicebot
a269e6eb76
fullyQualifiedNameImplForSymbols: .stringof -> __traits(identifier)
2013-02-27 23:09:29 +02:00
k-hara
7dd1ed7a21
fix Issue 9596 - Ambiguous match is incorrectly hidden by additional lesser match
2013-02-27 01:25:28 +09:00
Andrei Alexandrescu
73429c4e3e
fixed conflict
2013-02-25 02:00:35 +02:00
k-hara
9985101830
Tuple member defaultInit requires 'this', so use std.traits.defaultInit with selective import.
2013-02-24 13:05:39 +09:00
Alex Rønne Petersen
222ea0f2b1
Merge pull request #1080 from monarchdodra/postblit
...
Extra doc and tests for hasElaborateAssign
2013-02-10 09:45:49 -08:00
monarch dodra
153ac3690f
Update std/traits.d
2013-02-04 16:00:51 +01:00
k-hara
5c092c2814
Fix isAssignable unittest results
2013-01-31 09:34:53 +09:00
Andrej Mitrovic
40cca46b42
Fixes Issue 6614 - Add isFinalFunction and isFinalClass.
...
Add isAbstractClass to mirror __traits().
2013-01-25 23:56:00 +01:00
Andrej Mitrovic
e387b6fd80
Improve isAbstractFunction and add unittest.
2013-01-25 23:53:04 +01:00
Hara Kenji
1ec2e521b2
Merge pull request #1088 from AndrejMitrovic/Fix9269
...
Issue 9269 - Remove import to curl to avoid unittest build failure
2013-01-21 18:44:05 -08:00
Andrej Mitrovic
40d9ebcdfb
Fixes Issue 9269 - Remove import to curl to avoid unittest build failure.
2013-01-22 02:16:23 +01:00