Re: Beta 2.100.0

2022-04-23 Thread Walter Bright via Digitalmars-d-announce

On 4/22/2022 2:24 AM, Martin Nowak wrote:

Glad to announce the first beta for the 2.100.0 release, ♥ to the 40 
contributors.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.100.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin



Yay! Thanks, Martin + 40!


Re: Beta 2.100.0

2022-04-23 Thread Bastiaan Veelo via Digitalmars-d-announce

On Friday, 22 April 2022 at 09:24:00 UTC, Martin Nowak wrote:


http://dlang.org/changelog/2.100.0.html


It seems the list of contributors does not include the 
contributions to Dub.


— Bastiaan.


Re: dmt: Python-like indentation in D programming language

2022-04-23 Thread Witold Baryluk via Digitalmars-d-announce

On Friday, 1 April 2022 at 12:39:15 UTC, Marcone wrote:
Your dmt.d not compile for exe in Windows with last version of 
dmd 2.099.0


dmt.d(71): Deprecation: Usage of the `body` keyword is 
deprecated. Use `do` instead.
dmt.d(125): Deprecation: Usage of the `body` keyword is 
deprecated. Use `do` instead.
dmt.d(206): Deprecation: Usage of the `body` keyword is 
deprecated. Use `do` instead.
dmt.d(234): Deprecation: Usage of the `body` keyword is 
deprecated. Use `do` instead.
dmt.d(212): Error: `pure` function `dmt.check_if_can_indent` 
cannot call impure function `dmt.strcmp_first2`
dmt.d(212): Error: `@nogc` function `dmt.check_if_can_indent` 
cannot call non-@nogc function `dmt.strcmp_first2`


Thanks for the report. Please next time open a github issue for 
such things, so I can spot them and fix quickly.



The Error part was fixed in 
https://github.com/baryluk/dmt/commit/748de1d6726c0dbe97ba098b094588b4f13d7045


Something changed in the semantic analysis, that caused 
`strcmp_first2` to not be inffered correctly. Adding explicit 
attributes solves that.


I am aware of `Deprecation: Usage of the body keyword is 
deprecated. Use do instead.`. This is intentional because gdc in 
some older Linux distributions (including Debian stable) do not 
recognize `do`, but they do `body`. Once the newer versions of 
`gdc` trickle to more distros (and Debian stable), I will switch 
it to use `do` and remove use of `body`. The deprecation warning 
is harmless otherwise.





Re: Beta 2.100.0

2022-04-23 Thread Guillaume Piolat via Digitalmars-d-announce

On Friday, 22 April 2022 at 13:19:13 UTC, Guillaume Piolat wrote:

On Friday, 22 April 2022 at 09:24:00 UTC, Martin Nowak wrote:


As usual please report any bugs at
https://issues.dlang.org

-Martin


Thanks for all involved.
https://issues.dlang.org/show_bug.cgi?id=23046


More on the backend:
https://issues.dlang.org/show_bug.cgi?id=23047
https://issues.dlang.org/show_bug.cgi?id=23048
https://issues.dlang.org/show_bug.cgi?id=23049

Those are not super critical bugs. It would just be nice to be 
able to use D_SIMD one day, as DMD compile speed benefits are 
enticing.