[dmd-internals] [D-Programming-Language/dmd] 6b64a4: Improve stcToBuffer() and stcToChars() to handle l...
GitHub via dmd-internals
dmd-internals at puremagic.com
Mon Jun 22 23:58:16 PDT 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 6b64a46c75233fc49201b6dca6fe4dfe34a9bdfb
https://github.com/D-Programming-Language/dmd/commit/6b64a46c75233fc49201b6dca6fe4dfe34a9bdfb
Author: k-hara <k.hara.pg at gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)
Changed paths:
M src/attrib.c
M src/attrib.h
M src/hdrgen.c
M src/hdrgen.h
M src/import.c
M src/json.c
M src/magicport.json
M src/parse.c
Log Message:
-----------
Improve stcToBuffer() and stcToChars() to handle last one space
And move them into hdrgen.c, that's more better location.
Commit: 397752ba67e2db4868865b57ddfcd6f76724f386
https://github.com/D-Programming-Language/dmd/commit/397752ba67e2db4868865b57ddfcd6f76724f386
Author: k-hara <k.hara.pg at gmail.com>
Date: 2015-06-07 (Sun, 07 Jun 2015)
Changed paths:
M src/declaration.c
M test/fail_compilation/fail170.d
M test/fail_compilation/fail179.d
M test/fail_compilation/fail180.d
A test/fail_compilation/failattr.d
Log Message:
-----------
fix Issue 2091 - D2 final cannot be applied to variable
D2 has `const` ro represent readonly data, therefore the error and suggestion
"perhaps you meant const?" is normally legitimate.
But, if the `final` attribute comes from a label or block style syntax, it's too
restrict against class member layout.
To lift the limitation, display the error only when `final` is *directly* applied on a variable.
Use same method to `synchrionized`, `abstract`, and `override`.
Commit: b9864b41576e3d20df0969e2731c19f663b55a31
https://github.com/D-Programming-Language/dmd/commit/b9864b41576e3d20df0969e2731c19f663b55a31
Author: Walter Bright <walter at walterbright.com>
Date: 2015-06-22 (Mon, 22 Jun 2015)
Changed paths:
M src/attrib.c
M src/attrib.h
M src/declaration.c
M src/hdrgen.c
M src/hdrgen.h
M src/import.c
M src/json.c
M src/magicport.json
M src/parse.c
M test/fail_compilation/fail170.d
M test/fail_compilation/fail179.d
M test/fail_compilation/fail180.d
A test/fail_compilation/failattr.d
Log Message:
-----------
Merge pull request #4714 from 9rnsr/fix2091
Issue 2091 - D2 final cannot be applied to variable
Compare: https://github.com/D-Programming-Language/dmd/compare/d66bf4d32448...b9864b41576e
More information about the dmd-internals
mailing list