Update dmd to 2.078.0
This commit is contained in:
parent
12de700706
commit
8db1851c5c
@ -7,6 +7,7 @@ os:
|
|||||||
language: d
|
language: d
|
||||||
|
|
||||||
d:
|
d:
|
||||||
|
- dmd-2.078.0
|
||||||
- dmd-2.077.1
|
- dmd-2.077.1
|
||||||
- dmd-2.076.1
|
- dmd-2.076.1
|
||||||
|
|
||||||
@ -21,7 +22,7 @@ addons:
|
|||||||
- gcc-multilib
|
- gcc-multilib
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$PS1" = '(dmd-2.077.1)' ]; then
|
- if [ "$PS1" = '(dmd-2.078.0)' ]; then
|
||||||
export UNITTEST="unittest-cov";
|
export UNITTEST="unittest-cov";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -149,7 +149,8 @@ There are more containers in the `tanya.container` package.
|
|||||||
|
|
||||||
| DMD | GCC |
|
| DMD | GCC |
|
||||||
|:-------:|:--------------:|
|
|:-------:|:--------------:|
|
||||||
| 2.077.0 | *gdc-5* branch |
|
| 2.078.0 | *gdc-5* branch |
|
||||||
|
| 2.077.1 | |
|
||||||
| 2.076.1 | |
|
| 2.076.1 | |
|
||||||
|
|
||||||
### Current status
|
### Current status
|
||||||
@ -163,9 +164,7 @@ Following modules are under development:
|
|||||||
|
|
||||||
### Release management
|
### Release management
|
||||||
|
|
||||||
3-week release cycle.
|
Deprecated features are removed after one release that includes these deprecations.
|
||||||
|
|
||||||
Deprecated features are removed after one release (in approximately 6 weeks after deprecating).
|
|
||||||
|
|
||||||
## Further characteristics
|
## Further characteristics
|
||||||
|
|
||||||
|
@ -3,6 +3,12 @@ os: Visual Studio 2015
|
|||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.078.0
|
||||||
|
arch: x64
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.078.0
|
||||||
|
arch: x86
|
||||||
- DC: dmd
|
- DC: dmd
|
||||||
DVersion: 2.077.1
|
DVersion: 2.077.1
|
||||||
arch: x64
|
arch: x64
|
||||||
|
@ -264,7 +264,8 @@ if (is(Unqual!E == char))
|
|||||||
body
|
body
|
||||||
{
|
{
|
||||||
dchar chr;
|
dchar chr;
|
||||||
ubyte units, mask;
|
ubyte units;
|
||||||
|
int mask;
|
||||||
const(char)* it = this.begin;
|
const(char)* it = this.begin;
|
||||||
|
|
||||||
if (*it & 0x80)
|
if (*it & 0x80)
|
||||||
|
@ -393,7 +393,9 @@ struct Integer
|
|||||||
T opCast(T)() const
|
T opCast(T)() const
|
||||||
if (isIntegral!T && isSigned!T)
|
if (isIntegral!T && isSigned!T)
|
||||||
{
|
{
|
||||||
return this.sign ? -(cast(Unsigned!T) this) : cast(Unsigned!T) this;
|
return this.sign
|
||||||
|
? cast(T) -(cast(Promoted!(Unsigned!T)) (cast(Unsigned!T) this))
|
||||||
|
: cast(Unsigned!T) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
@ -1072,7 +1074,7 @@ struct Integer
|
|||||||
assert(h1 == 79);
|
assert(h1 == 79);
|
||||||
|
|
||||||
h2 = ~h1;
|
h2 = ~h1;
|
||||||
assert(h2 == ~cast(ubyte) 79);
|
assert(h2 == cast(ubyte) ~79);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ditto
|
/// ditto
|
||||||
|
Loading…
Reference in New Issue
Block a user