Re: std.uni CodepointSet toString

2024-02-12 Thread Paul Backus via Digitalmars-d-learn
On Friday, 9 February 2024 at 08:04:28 UTC, Danilo wrote: Incredible! Seems like D is experiencing featuritis. Priorities may be wrong. Instead of bug fixing and stabilization, people concentrate on getting new stuff like ˋ:blubˋ into the language. If you look at the work actually being done i

Re: std.uni CodepointSet toString

2024-02-09 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 09/02/2024 9:04 PM, Danilo wrote: Instead of bug fixing and stabilization, people concentrate on getting new stuff like ˋ:blubˋ into the language. Umm, I take it that you didn't know that one of the reasons we spent the past year focusing on bug fixing and stabilization is because of my wor

Re: std.uni CodepointSet toString

2024-02-09 Thread Danilo via Digitalmars-d-learn
On Thursday, 8 February 2024 at 18:43:09 UTC, H. S. Teoh wrote: 11 years and we still haven't fixed all the problems?! That's ... wow. Incredible! Seems like D is experiencing featuritis. Priorities may be wrong. Instead of bug fixing and stabilization, people concentrate on getting new stuff

Re: std.uni CodepointSet toString

2024-02-08 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Feb 08, 2024 at 06:22:29PM +, Carl Sturtivant via Digitalmars-d-learn wrote: > On Wednesday, 7 February 2024 at 17:11:30 UTC, H. S. Teoh wrote: > > Do we know why the compiler isn't getting it right? Shouldn't we be > > fixing it instead of just turning off elision completely? > > Th

Re: std.uni CodepointSet toString

2024-02-08 Thread Carl Sturtivant via Digitalmars-d-learn
On Wednesday, 7 February 2024 at 17:11:30 UTC, H. S. Teoh wrote: Do we know why the compiler isn't getting it right? Shouldn't we be fixing it instead of just turning off elision completely? This matter seems to have been an issue for some time. https://forum.dlang.org/post/l5e5hm$1177$1...@di

Re: std.uni CodepointSet toString

2024-02-07 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 08/02/2024 6:11 AM, H. S. Teoh wrote: Do we know why the compiler isn't getting it right? Shouldn't we be fixing it instead of just turning off elision completely? Of course we should. It has been reported multiple times, with different examples trigger the switch symbol error.

Re: std.uni CodepointSet toString

2024-02-07 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Feb 08, 2024 at 05:44:59AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn wrote: > On 08/02/2024 5:36 AM, Carl Sturtivant wrote: [...] > > ``` > > $ dmd --help | grep allinst > >   -allinst  generate code for all template instantiations > > ``` > > Unclear exactl

Re: std.uni CodepointSet toString

2024-02-07 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 08/02/2024 5:36 AM, Carl Sturtivant wrote: On Wednesday, 7 February 2024 at 11:49:20 UTC, Richard (Rikki) Andrew Cattermole wrote: ``` undefined reference to `_D4core9exception__T15__switch_errorTZQsFNaNbNiNeAyamZv' collect2: error: ld returned 1 exit status Error: linker exited with status

Re: std.uni CodepointSet toString

2024-02-07 Thread Carl Sturtivant via Digitalmars-d-learn
On Wednesday, 7 February 2024 at 11:49:20 UTC, Richard (Rikki) Andrew Cattermole wrote: ``` undefined reference to `_D4core9exception__T15__switch_errorTZQsFNaNbNiNeAyamZv' collect2: error: ld returned 1 exit status Error: linker exited with status 1 ``` Use ``-allinst``, that is a template e

Re: std.uni CodepointSet toString

2024-02-07 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
https://issues.dlang.org/show_bug.cgi?id=20802

Re: std.uni CodepointSet toString

2024-02-07 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 07/02/2024 7:27 PM, Carl Sturtivant wrote: Need help working around a linkage problem. ```d import std.uni, std.conv, std.stdio, std.format; void main() { //auto c1 = unicode.InBasic_latin; auto c1 = CodepointSet('a','z'+1); writeln(c1.to!string); writeln(format("%d", c1))

std.uni CodepointSet toString

2024-02-06 Thread Carl Sturtivant via Digitalmars-d-learn
Need help working around a linkage problem. ```d import std.uni, std.conv, std.stdio, std.format; void main() { //auto c1 = unicode.InBasic_latin; auto c1 = CodepointSet('a','z'+1); writeln(c1.to!string); writeln(format("%d", c1)); writeln(format("%#x", c1)