Commit graph

337 commits

Author SHA1 Message Date
monarch dodra
67a4ad1f69 Merge pull request #1869 from GoldMax/Issue-7069
The std.traits.ImplicitConversionTargets returns wrong result for dchar
2014-01-31 04:11:11 -08:00
k-hara
8191aa91e5 Fixed typo. 2014-01-31 19:48:37 +09:00
k-hara
b7ad077356 Fix for enum and alias this cases 2014-01-31 13:07:44 +09:00
k-hara
c68cb5dc6c Move isBlitAssignable to std.traits 2014-01-31 13:07:33 +09:00
Alex Rønne Petersen
5b1aa8bf45 Merge pull request #1861 from jpf91/arm-3
[ARM] Fix phobos unit tests
2014-01-25 07:27:41 -08:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
GoldMax
12f233ae31 some fix in std.traits.ImplicitConversionTargets 2014-01-17 17:00:50 +07:00
GoldMax
dbf868ecc4 The std.traits.ImplicitConversionTargets returns wrong result for dchar 2014-01-17 13:22:38 +07:00
Ferdinand Majerech
1f2681e3b7 DDoc: elaborated on 'scalar type' and 'basic type'
Previously it wasn't completely obvious what a scalar or basic type is in std.traits; now it's described explicitly.
2014-01-16 20:45:56 +01:00
Johannes Pfau
8b124e461c [ARM] Fix phobos unit tests 2014-01-15 16:31:25 +01:00
Andrei Alexandrescu
dab1796ad6 Merge pull request #1827 from WalterBright/add-opCmp
fix unittest associative array opCmp
2014-01-01 00:00:44 -08:00
Walter Bright
e0ecdf904b fix unittest associative array opCmp 2013-12-31 23:53:35 -08:00
monarchdodra
4615b40868 Reduce imports in std.traits 2013-12-29 22:31:51 +01:00
k-hara
6628a306cf Add more necessary local imports 2013-12-26 11:55:18 +09:00
k-hara
baf5c78deb Use selective local import and place at the head of the required code block 2013-12-26 11:55:06 +09:00
Andrei Alexandrescu
567a43157c Reduce deps in std.traits 2013-12-19 17:04:35 -08:00
Martin Nowak
c445f1c288 Merge pull request #1766 from jmdavis/deprecations
Move various deprecations along.

Conflicts:
    std/algorithm.d
    std/zip.d
2013-12-19 23:33:47 +01:00
k-hara
a047e5052c Fix for nested alias this. 2013-12-16 11:55:38 +09:00
k-hara
43447a5451 Use __traits.d(getAliasThis) 2013-12-16 11:55:36 +09:00
Daniel Murphy
1818d190b5 More implicit array to bool 2013-12-15 19:55:34 +11:00
jmdavis
efd6ea0cbf Move various deprecations along. 2013-12-11 23:44:12 -08:00
Daniel Murphy
9562429379 Result of __traits(parent) may not have a type 2013-11-25 23:27:49 +11:00
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