Commit graph

688 commits

Author SHA1 Message Date
tibi77
7ae2e67a47 Remove redundant body of @disable functions. Issue 14854 DMD (#6893)
Remove redundant body of @disable functions. Issue 14854 DMD
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-03-06 02:00:04 +01:00
Mathis Beer
8f24c53ec7 Fix issue 19689: don't use recursive template parameter iteration in std.traits.
Pull inner Impl templates out into std.traits so they're only instantiated once.
Use anySatisfy, staticMap instead of manually recursing.
2019-02-22 16:48:48 +01:00
Sebastian Wilzbach
c1c6c80909 std.traits: use assumePurein the public example 2019-01-31 14:59:02 +01:00
The Dlang Bot
93f1b31fbf
Merge pull request #6799 from TurkeyMan/max_alignment
simplify maxAlignment
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-12-29 22:02:49 +01:00
Martin Nowak
6804bf18cd Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-12-24 17:26:02 +01:00
The Dlang Bot
43be36c179
Merge pull request #6790 from joakim-noah/stable
Android and AArch64: tweak tests that trip
merged-on-behalf-of: unknown
2018-12-18 03:26:39 +01:00
Joakim
073ea406c6 Loosen two tests for IEEE Quadruple precision and make sure std.variant.VariantN is properly aligned for Quadruples. 2018-12-17 19:58:33 +05:30
Manu Evans
19e8ff244d Simplify isInnerClass 2018-12-10 21:23:59 -08:00
Manu Evans
655a818f13 simplify maxAlignment (because max is gigantic!) 2018-12-09 23:44:47 -08:00
The Dlang Bot
19f72cfe7f
Merge pull request #6789 from Biotronic/Issue-19456
Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract met…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 13:05:12 +01:00
jsatellite
01784b0ee9
Fix for issue 19466 2018-12-05 10:13:11 +00:00
Martin Nowak
c60001a44f Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-12-04 19:43:30 +01:00
Simen Kjærås
9f9988bfeb Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract methods with unnamed parameters 2018-12-03 12:04:03 +01:00
Stanislav Blinov
43545feff8 Fix Issue 19444. 2018-11-30 11:19:58 +03:00
Basile Burg
aad0e0d760 Remove AliasSeq when __traits is directly aliasable 2018-11-29 11:21:20 +01:00
Geod24
faf48bd493 Remove support for extern(Pascal) 2018-11-19 12:39:43 +01:00
Nicholas Wilson
10a969ddaa
Merge pull request #6762 from edi33416/reduce_hasElaborateDestructor
Remove duplicate of hasElaborateDestructor implementation
2018-11-15 12:17:59 +08:00
Eduard Staniloiu
23d6f0419e Remove duplicate of hasElaborateCopyConstructor implementation 2018-11-14 19:54:50 +00:00
Eduard Staniloiu
97e0e82e37 Remove duplicate of hasElaborateDestructor implementation 2018-11-12 16:22:06 +00:00
Eduard Staniloiu
430a631570 Remove duplicate of Unqual implementation 2018-11-12 14:23:42 +00:00
The Dlang Bot
b166873570
Merge pull request #6750 from edi33416/reduce_isImplConv
Simplify isImplicitlyConvertible trait
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-11-09 00:24:20 +01:00
Eduard Staniloiu
7c30a7adf8 Simplify isImplicitlyConvertible trait 2018-11-05 13:57:25 +00:00
Per Nordlöw
fc96b0a99d make some traits iterative using static foreach 2018-10-23 21:22:57 +02:00
Alexandru ermicioi
0648b8706f Fix issue 17276 added additional case for objects that do not have as root class Object. 2018-10-01 18:21:30 -04:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Simen Kjærås
bcc9d57b20 Fix issue 19228 - hasAliasing fails on static arrays 2018-09-06 09:35:16 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Basile Burg
db819575f1 Fix issue 11959 - Set private symbols declared in version(unittest) blocks 2018-08-26 10:22:11 +02:00
Sebastian Wilzbach
8115d50f14 Fix auto function without return statement 2018-06-28 10:58:14 +02:00
Thibaut CHARLES
fc9aefbcb3
Fix std.traits.Variadic doc layout 2018-06-11 12:02:16 +02:00
The Dlang Bot
a56ae8026b
Merge pull request #6542 from wilzbach/underscore
Remove a few cases of underscore escaping
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-06-04 22:29:52 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Martin Nowak
b4d444c5ee Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-06-03 18:09:49 +02:00
Biotronic
8db8debe32 Fix issue 18884 - getSymbolsByUDA fails on AliasSeq members 2018-05-20 19:38:02 +02:00
Basile Burg
593a4e2e39 fix issue 13741 - std.traits.moduleName does not work with functions that have parameters 2018-05-18 19:32:40 +02:00
Steven Schveighoffer
d4a35f09da More removal of version(unittest) 2018-04-13 12:20:02 -04:00
Sebastian Wilzbach
152647e985 Add public examples to std.random 2018-04-04 11:42:56 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
The Dlang Bot
0372d48dc0
Merge pull request #6179 from aliak00/has-static-member
Fix issue 18438 - Handle T* in hasStaticMember like hasMember
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-03-30 01:52:58 +02:00
Jonathan Marler
2dd14c6445 Accomodate Enum init deprecation 2018-03-28 04:27:46 -06:00
Sebastian Wilzbach
08233cab19 Split UDA public examples into smaller chunks 2018-03-28 15:08:16 +02:00
Sebastian Wilzbach
41dbe5cc57 Add a public example for unsigned integral to std.traits.Unsigned 2018-03-28 15:01:27 +02:00
Jack Stouffer
5df8f15280 Add examples for the rest of std.traits and enable the dscanner check 2018-03-28 08:20:08 -04:00
The Dlang Bot
a6afdef932
Merge pull request #6355 from JackStouffer/issue18669
Fix Issue 18669 - isNestedFunction does not check if parameter is a f…
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 05:09:00 +02:00
Jack Stouffer
57b915d4b1 Improved docs for ImplicitConversionTargets and isAbstractFunction 2018-03-27 14:24:37 -04:00
Jack Stouffer
09cc0bac14 Fix Issue 18669 - isNestedFunction does not check if parameter is a function 2018-03-27 12:55:27 -04:00
Sebastian Wilzbach
87301eb1b5 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-03-25 18:23:14 +02:00
Sebastian Wilzbach
8f86a0d734 Fix if constraints indentation 2018-03-24 13:17:53 +01:00
The Dlang Bot
f55a6a797d
Merge pull request #6333 from JackStouffer/traits-examples5
Added examples for rvalueOf, lvalueOf, isSomeFunction, and Interfaces…
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2018-03-24 07:44:24 +01:00
Jack Stouffer
ad1117514f Added examples for rvalueOf, lvalueOf, isSomeFunction, and InterfacesTuple 2018-03-23 12:12:23 -04:00