Andrei Alexandrescu
c5e6213dde
Issue 21250 - dirEntries on non-existent directory causes assert error ( #7646 )
...
Issue 21250 - dirEntries on non-existent directory causes assert error
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2020-10-02 16:49:09 +02:00
Geod24
691847c61b
std.typecons : AutoImplement: Handle 'in' storage class
2020-08-28 04:27:48 +02:00
Mathis Beer
4b269a86f2
Fix issue 21199: call unaryFun!fun
in Nullable.apply
to support shortcut string expressions as parameter.
2020-08-26 15:01:04 +02:00
MoonlightSentinel
c46c2c3aa6
Fix public examples failing due to missing imports
2020-06-28 18:12:56 +02:00
Biotronic
e6eaa8ea24
Fix issue 20850 - Can't assign enum of Tuple
2020-05-21 13:42:04 +02:00
Vladimir Panteleev
38febf9e5c
std.typecons: Fix inconsistent indentation in Nullable implementation
...
It was previously difficult to see where the implementation of
Nullable ends, because the indentation did not represent the nesting
level.
This also fixes the different DDoc styles used to document Nullable
entries to a single style.
2020-05-20 02:47:01 +00:00
Mathis Beer
a5c52a3630
Add get(default) same-type overload in Nullable.
...
Works around https://issues.dlang.org/show_bug.cgi?id=20670 , which may
cause `Nullable` with arrays of `immutable struct`s to incorrectly strip
away the `immutable`.
2020-04-16 09:35:03 +02:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Sebastian Wilzbach
4421a4f157
Fix @betterC testsuite
2020-03-04 16:07:28 -08:00
Adam D. Ruppe
ae93f5317c
Use consistent quickindex wrapper around hand-written list-of-links tables
2020-02-21 21:04:05 -05:00
MoonlightSentinel
af50bed328
Fix Issue 20540 - (White|Black)Hole does not work with return|scope functions
2020-01-27 20:14:20 +01:00
MoonlightSentinel
869d9b5613
Fix Issue 20232 - WhiteHole is unusable with @safe interface functions
2020-01-27 20:06:14 +01:00
Alexandru Militaru
bb62aaca3d
Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest
2020-01-19 14:05:17 +02:00
Alexandru Militaru
d3e1bb0cdb
Some version (unittest) blocks removed
2020-01-06 17:53:09 +02:00
Bernhard Seckinger
998ac2bc36
Fix Issue 12461 - Typedef and opOpAssign
2019-12-30 13:25:00 +01:00
drug007
9858b9afe4
Remove useless warnings
...
to get rid of annoying deprecation warnings because in case the rhs is an other Nullable instance the constraint `is(typeof(this.get == rhs))` triggers the deprecation warning because the rhs implicitly calls deprecated `get_` member. This guard constraint prevents the rhs from being an other Nullable instance. No resolution logic change. Just getting rid of useless warning.
2019-12-16 13:26:26 +03:00
Ali Akhtarzada
ebfb07daec
Fix issue 20425: Remove Proxy.opCmp constraints
...
They fail with types that have an opCmp defined and are value
types.
2019-12-02 09:52:13 +01:00
RazvanN7
12cddc3ef5
Fix static import
2019-11-18 10:42:26 +02:00
MoonlightSentinel
d95f5c79e4
Remove deprecated toString overloads from Nullable
2019-11-16 03:46:13 +01:00
Iain Buclaw
bb7bd70fbf
Silence warning: struct Rebindable has method toHash, however it cannot be called with const(Rebindable!(const(C))) this.
2019-10-07 23:29:47 +02:00
JinShil
0de2d66760
Replace hash_t
and sizediff_t
with size_t
and ptrdiff_t
2019-08-31 04:39:57 +09:00
aG0aep6G
dc5e22944a
prepare for fix of issue 20138 ("is expression not evaluating correctly?")
...
With issue 20138 fixed, `const U` and `shared U` do match `const shared T`,
and they leave the other qualifier intact. So `const shared U` must be
attempted first if we want to strip both qualifiers.
2019-08-18 21:02:54 +02:00
Martin Nowak
d2e931f149
Merge remote-tracking branch 'upstream/stable' into merge_stable
2019-08-05 08:51:49 +02:00
Paul Backus
e7d6e9ff50
Fix issues 19696, 19697, 16132 - ReplaceType bugs
...
ReplaceType no longer gives incorrect results for types that can be
implicitly converted to a templated type, either via inheritance (19697,
16132) or alias this (19696).
2019-07-31 21:08:38 -04:00
The Dlang Bot
e123a4d1a8
Merge pull request #7102 from dgileadi/enable-markdown
...
Turn on -preview=markdown
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-07-24 02:48:50 +02:00
Mathis Beer
f7960154c4
Fix issue 20043: support Tuple.rename on const tuples
2019-07-12 13:57:11 +02:00
The Dlang Bot
d6f1685a5c
Merge pull request #7084 from pbackus/fix-19994
...
Fix issue 19994 - Can't nest self-referential Algebraic types
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-07-08 05:15:05 +02:00
David Gileadi
775bcdee51
Turn on -preview=markdown
2019-07-04 10:28:30 -07:00
Paul Backus
384bc28318
Add ReplaceTypeUnless
2019-06-22 16:08:07 -04:00
Mathis Beer
0e240076f3
Deprecate alias get this
in Nullable.
2019-06-13 13:51:05 +02:00
Sebastian Wilzbach
66991b4cd7
Use selective top-level module imports in std.{typecons,uni,utf}
2019-05-23 10:57:09 +02:00
The Dlang Bot
d57be4690f
Merge pull request #7000 from FeepingCreature/fix/issue-9029-fixes
...
Fix issues arising from the DMD 9029 fix (types match to alias)
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-05-12 00:24:45 +02:00
FeepingCreature
d33c1ebc10
Fix issues arising from the DMD 9029 fix (types match to alias)
2019-05-11 12:55:57 +01:00
The Dlang Bot
39d38166fe
Merge pull request #6902 from thewilsonator/thewilsonator-patch-1
...
Issue 3525 was fixed
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2019-05-10 01:21:39 +02:00
Sebastian Wilzbach
cbc4afc179
Merge pull request #6693 from n8sh/issue-19226
...
Fix Issue 19226 - std.typecons.Nullable(T, T nullValue) doesn't fully handle non-self-equal nullValue
2019-05-09 16:25:28 +01:00
Nicholas Wilson
e2ab79408b
Issue 3525 was fixed
2019-05-09 16:20:51 +01:00
Mathis Beer
4bc95f0fca
Fix issue 19799: add const toString to Nullable to avoid miscompilation in Nullable!string due to attempted implicit .get conversion to string
2019-04-10 15:46:11 +02:00
Sebastian Wilzbach
37e8593d35
Disable failing std.typecons unittest with -dip1000
2019-03-21 13:09:40 +01:00
Walter Bright
bc3dd0afda
Even more scope for FormatSpec
2019-03-18 01:28:47 -07:00
Nathan Sashihara
aba8660d75
Fix Issue 19226 - std.typecons.Nullable(T, T nullValue) doesn't fully handle non-self-equal nullValue
2019-02-23 07:21:21 -05:00
Sebastian Wilzbach
13705f53bd
Add a -betterC test for std.typecons.Tuple
2018-12-31 13:02:27 +01:00
Sebastian Wilzbach
c4c72930b8
Avoid injectNamedFields to be codegened
2018-12-31 12:55:24 +01:00
The Dlang Bot
c47be25959
Merge pull request #6820 from n8sh/issue-19526-19527
...
Fix Issue 19526 - make RefCounted work in betterC
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-30 23:32:04 +01:00
Nathan Sashihara
07b45c5528
Fix Issue 19526 - make std.typecons.RefCounted work in betterC
2018-12-30 13:58:25 -05:00
The Dlang Bot
b962752193
Merge pull request #6804 from edi33416/issue_18824
...
Fix Issue 18824 - [REG 2.080] Tuple's opBinaryRight takes precedence …
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-18 17:15:14 +01:00
The Dlang Bot
4435abf27e
Merge pull request #6808 from edi33416/issue_18755
...
Fix Issue 18755 - std.typecons.Rebindable breaks @safe-ty
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-12-17 20:47:25 +01:00
Eduard Staniloiu
dbca8521b5
Fix Issue 18755 - std.typecons.Rebindable breaks @safe-ty
2018-12-17 16:15:00 +02:00
Eduard Staniloiu
36a9dfaaf2
Fix Issue 18824 - [REG 2.080] Tuple's opBinaryRight takes precedence over appending a tuple to an array of tuples
2018-12-14 13:35:20 +02:00
Stanislav Blinov
c4324f405c
[deduplication] RefCounted
should use moveEmplace
...
...
...as per a comment in its implementation.
Not `@safe`, but `nothrow pure`; `calloc` if has pointers
2018-12-01 14:13:47 +03:00
Basile Burg
aad0e0d760
Remove AliasSeq
when __traits
is directly aliasable
2018-11-29 11:21:20 +01:00