dfix 0.2.0

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Nov 25 07:06:01 PST 2014


On Mon, 24 Nov 2014 19:22:51 +0000
Brian Schott via Digitalmars-d-announce
<digitalmars-d-announce at puremagic.com> wrote:

> dfix is a tool for automatically upgrading the syntax of D source 
> code.
> 
> Changes since 0.1.1:
> * #1 dfix will now rewrite "const int foo() {}" to int foo() 
> const {}"
> * #6 The C-style array syntax fix is no longer incorrectly 
> applied to
>    certain ASM statements.
> * #9 You can now provide directory names as arguments to dfix in 
> case
>    you're too lazy to run find and xargs. (And really, who isn't?)
> * #11 dfix is now registered on code.dlang.org.
>    http://code.dlang.org/packages/dfix
> * Added tests.
can it detect top-level @properties and @properties with args? this
would be very valuable addition for property enforcing patch. std.file,
for example, declared top-level `isFile()`, `isDir()` and some other
functions as @properties, which is meaningless, as we have UFCS. and
this breaks with Kenji's PR 2305, for example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20141125/f5f5f3b0/attachment.sig>


More information about the Digitalmars-d-announce mailing list