Hello community, here is the log from the commit of package dmd for openSUSE:Factory checked in at 2018-02-19 13:02:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dmd (Old) and /work/SRC/openSUSE:Factory/.dmd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmd" Mon Feb 19 13:02:59 2018 rev:9 rq:577880 version:2.078.3 Changes: -------- --- /work/SRC/openSUSE:Factory/dmd/dmd.changes 2018-02-12 10:15:56.731925683 +0100 +++ /work/SRC/openSUSE:Factory/.dmd.new/dmd.changes 2018-02-19 13:03:13.613189001 +0100 @@ -1,0 +2,9 @@ +Sun Feb 18 19:26:49 UTC 2018 - [email protected] + +- Update to 2.078.3 + - DMD Compiler regressions + * [REG2.078.2] Access violation when dmd tries to print highlighted code + - DMD Compiler bugs + * Switch skips over declaration issued for explicitly uninitialized variables + +------------------------------------------------------------------- Old: ---- dmd-2.078.2.tar.gz druntime-2.078.2.tar.gz phobos-2.078.2.tar.gz New: ---- dmd-2.078.3.tar.gz druntime-2.078.3.tar.gz phobos-2.078.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmd.spec ++++++ --- /var/tmp/diff_new_pack.cAdLxd/_old 2018-02-19 13:03:20.364945506 +0100 +++ /var/tmp/diff_new_pack.cAdLxd/_new 2018-02-19 13:03:20.368945361 +0100 @@ -20,7 +20,7 @@ %define bootstrap_version 2.078.0 %define sover 0_78 Name: dmd -Version: 2.078.2 +Version: 2.078.3 Release: 0 Summary: D Programming Language 2.0 License: BSL-1.0 ++++++ dmd-2.078.2.tar.gz -> dmd-2.078.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmd-2.078.2/VERSION new/dmd-2.078.3/VERSION --- old/dmd-2.078.2/VERSION 2018-02-07 11:17:05.000000000 +0100 +++ new/dmd-2.078.3/VERSION 2018-02-15 22:58:02.000000000 +0100 @@ -1 +1 @@ -v2.078.2 +v2.078.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmd-2.078.2/src/dmd/statement.d new/dmd-2.078.3/src/dmd/statement.d --- old/dmd-2.078.2/src/dmd/statement.d 2018-02-07 11:17:05.000000000 +0100 +++ new/dmd-2.078.3/src/dmd/statement.d 2018-02-15 22:58:02.000000000 +0100 @@ -1605,7 +1605,9 @@ } else { - deprecation("'switch' skips declaration of variable %s at %s", vd.toPrettyChars(), vd.loc.toChars()); + if (!vd._init.isVoidInitializer) + deprecation("'switch' skips declaration of variable %s at %s", vd.toPrettyChars(), vd.loc.toChars()); + return true; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmd-2.078.2/src/dmd/tokens.d new/dmd-2.078.3/src/dmd/tokens.d --- old/dmd-2.078.2/src/dmd/tokens.d 2018-02-07 11:17:05.000000000 +0100 +++ new/dmd-2.078.3/src/dmd/tokens.d 2018-02-15 22:58:02.000000000 +0100 @@ -557,6 +557,124 @@ enum TOKwild = TOKinout; +/**************************************** + */ + +private immutable TOK[] keywords = +[ + TOKthis, + TOKsuper, + TOKassert, + TOKnull, + TOKtrue, + TOKfalse, + TOKcast, + TOKnew, + TOKdelete, + TOKthrow, + TOKmodule, + TOKpragma, + TOKtypeof, + TOKtypeid, + TOKtemplate, + TOKvoid, + TOKint8, + TOKuns8, + TOKint16, + TOKuns16, + TOKint32, + TOKuns32, + TOKint64, + TOKuns64, + TOKint128, + TOKuns128, + TOKfloat32, + TOKfloat64, + TOKfloat80, + TOKbool, + TOKchar, + TOKwchar, + TOKdchar, + TOKimaginary32, + TOKimaginary64, + TOKimaginary80, + TOKcomplex32, + TOKcomplex64, + TOKcomplex80, + TOKdelegate, + TOKfunction, + TOKis, + TOKif, + TOKelse, + TOKwhile, + TOKfor, + TOKdo, + TOKswitch, + TOKcase, + TOKdefault, + TOKbreak, + TOKcontinue, + TOKsynchronized, + TOKreturn, + TOKgoto, + TOKtry, + TOKcatch, + TOKfinally, + TOKwith, + TOKasm, + TOKforeach, + TOKforeach_reverse, + TOKscope, + TOKstruct, + TOKclass, + TOKinterface, + TOKunion, + TOKenum, + TOKimport, + TOKmixin, + TOKstatic, + TOKfinal, + TOKconst, + TOKalias, + TOKoverride, + TOKabstract, + TOKdebug, + TOKdeprecated, + TOKin, + TOKout, + TOKinout, + TOKlazy, + TOKauto, + TOKalign, + TOKextern, + TOKprivate, + TOKpackage, + TOKprotected, + TOKpublic, + TOKexport, + TOKinvariant, + TOKunittest, + TOKversion, + TOKargTypes, + TOKparameters, + TOKref, + TOKmacro, + TOKpure, + TOKnothrow, + TOKgshared, + TOKtraits, + TOKvector, + TOKoverloadset, + TOKfile, + TOKfilefullpath, + TOKline, + TOKmodulestring, + TOKfuncstring, + TOKprettyfunc, + TOKshared, + TOKimmutable, +]; + /*********************************************************** */ extern (C++) struct Token @@ -1077,121 +1195,3 @@ return tochars[value]; } } - -/**************************************** - */ - -private immutable TOK[] keywords = -[ - TOKthis, - TOKsuper, - TOKassert, - TOKnull, - TOKtrue, - TOKfalse, - TOKcast, - TOKnew, - TOKdelete, - TOKthrow, - TOKmodule, - TOKpragma, - TOKtypeof, - TOKtypeid, - TOKtemplate, - TOKvoid, - TOKint8, - TOKuns8, - TOKint16, - TOKuns16, - TOKint32, - TOKuns32, - TOKint64, - TOKuns64, - TOKint128, - TOKuns128, - TOKfloat32, - TOKfloat64, - TOKfloat80, - TOKbool, - TOKchar, - TOKwchar, - TOKdchar, - TOKimaginary32, - TOKimaginary64, - TOKimaginary80, - TOKcomplex32, - TOKcomplex64, - TOKcomplex80, - TOKdelegate, - TOKfunction, - TOKis, - TOKif, - TOKelse, - TOKwhile, - TOKfor, - TOKdo, - TOKswitch, - TOKcase, - TOKdefault, - TOKbreak, - TOKcontinue, - TOKsynchronized, - TOKreturn, - TOKgoto, - TOKtry, - TOKcatch, - TOKfinally, - TOKwith, - TOKasm, - TOKforeach, - TOKforeach_reverse, - TOKscope, - TOKstruct, - TOKclass, - TOKinterface, - TOKunion, - TOKenum, - TOKimport, - TOKmixin, - TOKstatic, - TOKfinal, - TOKconst, - TOKalias, - TOKoverride, - TOKabstract, - TOKdebug, - TOKdeprecated, - TOKin, - TOKout, - TOKinout, - TOKlazy, - TOKauto, - TOKalign, - TOKextern, - TOKprivate, - TOKpackage, - TOKprotected, - TOKpublic, - TOKexport, - TOKinvariant, - TOKunittest, - TOKversion, - TOKargTypes, - TOKparameters, - TOKref, - TOKmacro, - TOKpure, - TOKnothrow, - TOKgshared, - TOKtraits, - TOKvector, - TOKoverloadset, - TOKfile, - TOKfilefullpath, - TOKline, - TOKmodulestring, - TOKfuncstring, - TOKprettyfunc, - TOKshared, - TOKimmutable, -]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmd-2.078.2/test/compilable/test17752.d new/dmd-2.078.3/test/compilable/test17752.d --- old/dmd-2.078.2/test/compilable/test17752.d 1970-01-01 01:00:00.000000000 +0100 +++ new/dmd-2.078.3/test/compilable/test17752.d 2018-02-15 22:58:02.000000000 +0100 @@ -0,0 +1,17 @@ +// https://issues.dlang.org/show_bug.cgi?id=17752 +// REQUIRED_ARGS: -c -de +/* +TEST_OUTPUT: +--- +--- +*/ +void main (string[] args) +{ + switch (args.length) + { + // initialization not done on purpose is allowed + int x = void; + default: + break; + } +} ++++++ druntime-2.078.2.tar.gz -> druntime-2.078.3.tar.gz ++++++ ++++++ phobos-2.078.2.tar.gz -> phobos-2.078.3.tar.gz ++++++
