On 01/12/2018 06:50 PM, Venkat wrote:
> Sorry about all these posts. Wish there were an edit button.
That's ok. :) These are actually newsgroups (see NNTP protocol).
Newsgroups don't have any edit functionality. The "forum" is just a web
interface to newsgroups.
Ali
Going beyond the connection, there are various other libpq
functions that use a similar pattern of values passed using
multiple parallel C arrays, e.g.,
PGresult *PQexecParams(PGconn *conn,
const char *command,
int nParams,
On Saturday, 13 January 2018 at 04:59:25 UTC, Martin Nowak wrote:
On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo
wrote:
[...]
What do you mean with "taking care of it"?
It's a bit of a hen and egg problem, first you need a project
before you can register it with
On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo
wrote:
Maybe worthwile to add this scaffolding to dub or some other
tool? Anyone volunteering?
This could be a good idea. Probably even better is to let
code.dlang.org take care of it, which would make the whole
token issue and
On Saturday, 13 January 2018 at 04:26:06 UTC, Adam D. Ruppe wrote:
If and only if the values are known at compile time, you can do:
const char** keywords = ["hostaddr".ptr, "port".ptr,
"dbname".ptr, null].ptr;
or even do it inline:
PQconnectdbParams(["hostaddr".ptr, "port".ptr,
On Saturday, 13 January 2018 at 04:17:02 UTC, Joe wrote:
It only compiled after I removed the second 'const' in the
first and second arguments.
Yeah, D's const applies down the chain automatically, so you
don't write it twice there.
string[] keywords = ["hostaddr", "port", "dbname"];
I'm trying to learn how to use D to connect (and send queries) to
Postgres, i.e., libpq in C. Postgres has three families of
connection functions: PQsetdbLogin which takes multiple
individual arguments (all as const char *), PQconnectdb which
takes a single connection string (which Postgres
On 1/9/2018 6:53 PM, Mike Franklin wrote:
I couldn't find any cases like that. If you know of them, please
explicitly identify them for me.
I already fixed them.
On Saturday, 13 January 2018 at 01:07:24 UTC, Marc wrote:
On Friday, 12 January 2018 at 22:03:53 UTC, H. S. Teoh wrote:
On Fri, Jan 12, 2018 at 10:03:40PM +, Marc via
Digitalmars-d-learn wrote:
How do I use?
> static foreach(enum string member; members) {
>static
On Saturday, 13 January 2018 at 02:15:37 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
[snip]
Also, Proposal 1 starts with this example
auto (a, b) = tuple(1, "2");
(int a, string b) = tuple(1, "2");
but it also looks natural to be able to write
(int, string)
Sorry about all these posts. Wish there were an edit button. I
meant PreparedStatement in mysqlddbc driver, not HibernateD.
I think there is a bug with PreparedStatement class in
HibernateD. ddbc fails when I use a PreparedStatement. The code
below shows that. I will create an issue with HibernateD.
int main(string[] args) {
string url =
"mysql://localhost:3306/webmarx?user=webmarx_dev,password=webm@rx";
On Saturday, 13 January 2018 at 02:18:20 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:15:37 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
[...]
Really ?
After the type should be the declarator. In this example
there's no declarator but if you
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[snip]
I'm glad you're working on this.
Proposal 1 is a little terse in explaining
On Saturday, 13 January 2018 at 02:15:37 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[snip]
I'm glad you're
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[snip]
I'm glad you're working on this.
Proposal 1 is a little terse in explaining what you mean by
unpacking AliasSeqs. You might explain it in a
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
+1, please.
On Friday, 12 January 2018 at 13:09:42 UTC, kdevel wrote:
$ dmd nosine.d decimal.git/libdecimal.a
decimal/package.d(10505): Error: undefined identifier
decimalCapAngle
Sorry, broke some code when I made the split. Now it's working.
On 12/01/2018 10:44 PM, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve tuple
ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
This DIP aims to make code like the following valid D:
---
auto (a, b) = (1, 2);
(int a, int b) =
On Friday, 12 January 2018 at 22:03:53 UTC, H. S. Teoh wrote:
On Fri, Jan 12, 2018 at 10:03:40PM +, Marc via
Digitalmars-d-learn wrote:
How do I use?
> static foreach(enum string member; members) {
>static if(isFunction!(__traits(getMember, C, member))) {
>
On Friday, 12 January 2018 at 08:55:13 UTC, Rene Zwanenburg wrote:
Hard to guess what the issue is, I'd attach a debugger to see
where it crashes.
It fails at the sql() method in Command struct in
mysql-native-1.1.4/mysql-native/source/mysql/commands.d. This is
what gdb says when I do a disp
On 13.01.2018 01:20, Mark wrote:
Could we also support function tuples?
In principle, yes, though I imagine it is a lot harder to argue for its
inclusion than for that of the features currently proposed in the DIP,
because existing language features already come rather close.
For
Should include an example of returning a tuple from a function. I
know one of the pains with variadic templates is that they can't
be returned.
So maybe something that goes over the following use case:
auto returnTuple(Args...)(Args args)
{
return args;
}
(int a, float b) =
On Friday, 12 January 2018 at 12:41:34 UTC, Mike Parker wrote:
I see now. I glossed right over that execution output. On
Windows, I don't recall ever seeing a dub exception from dub
from a segfault. Just checked by accessing a null pointer and
there's nothing thrown from dub. Is that a Linux
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[...]
Yes please
On 13.01.2018 00:16, Basile B. wrote:
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve tuple
ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
markdown trick: you can use
```diff
```
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
This DIP aims to make code like the following valid D:
---
auto (a, b) = (1,
https://issues.dlang.org/show_bug.cgi?id=18233
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/e9b2864e1b0f59415045533423c64447b3e468aa
fix issue 18233 - building with -m64 doesn't work with sc.ini
https://issues.dlang.org/show_bug.cgi?id=18233
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On 01/12/2018 11:26 PM, Michael wrote:
Tango was the original, and Phobos was introduced for D2 as a
competing library.
Phobos is the original. In D1, Tango was an alternative standard
library. With D2, you have Phobos as the standard library and you can
use Tango on top of it.
On Friday, 12 January 2018 at 22:24:16 UTC, Dukc wrote:
On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote:
1. It has its own name. Phobos. This is unusual. I don't know
of any other language who's std lib has any name other than
"the {lang} standard library". Why does it have
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
markdown trick: you can use
```diff
```
for a nicer grammar section.
On 12.01.2018 23:44, Timon Gehr wrote:
---
auto (a, b) = (1, 2);
(int a, int b) = (1, 2);
---
(The two lines are two independent examples :o).)
On 12.01.2018 23:44, Timon Gehr wrote:
...
Before going ahead with it, I'd like some preliminary community input:
...
Also, if you have more links to forum posts requesting related features,
that would be useful (googling turned up the ones that are in the DIP,
but I know that there were
As promised [1], I have started setting up a DIP to improve tuple
ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
This DIP aims to make code like the following valid D:
---
auto (a, b) = (1, 2);
(int a, int b) = (1, 2);
---
---
foreach((sum, diff); [(1,
On Friday, 12 January 2018 at 22:26:38 UTC, Michael wrote:
On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote:
[...]
I mean, you're correct to say it's an artifact of D being an
old language. Tango was the original, and Phobos was introduced
for D2 as a competing library. I
I had similar feelings when starting out with D - "why don't they
say "standard library" instead of "Phobos"? I don't know that it
would change D's image, but I think it would be better for
newcomers if they only saw "standard library".
On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote:
After having started learning some D lately, two things about
the standard library have struck me:
1. It has its own name. Phobos. This is unusual. I don't know
of any other language who's std lib has any name other than
"the
On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote:
1. It has its own name. Phobos. This is unusual. I don't know
of any other language who's std lib has any name other than
"the {lang} standard library". Why does it have its own
distinct name, and why do I (as a user) need to
On Fri, Jan 12, 2018 at 10:03:40PM +, Marc via Digitalmars-d-learn wrote:
> How do I use?
>
> > static foreach(enum string member; members) {
> > static if(isFunction!(__traits(getMember, C, member))) {
> > continue;
> > }
>
How do I use?
static foreach(enum string member; members) {
static if(isFunction!(__traits(getMember, C, m ember)))
{
continue;
}
give error:
must use labeled continue within static foreach
then I tried:
After having started learning some D lately, two things about the
standard library have struck me:
1. It has its own name. Phobos. This is unusual. I don't know of
any other language who's std lib has any name other than "the
{lang} standard library". Why does it have its own distinct name,
On 01/11/2018 02:15 PM, Johan Engelen wrote:
And I've been working for a long time on a fuzzing article. It's almost
done!
- Johan
A fuzzy font would suit that article. :o)
Ali
On Fri, Jan 12, 2018 at 08:46:50PM +, WhatMeWorry via Digitalmars-d-learn
wrote:
[...]
> I hate to keep being a bother, but my project with the below static
> this() now compiles fine, but aborts during runtime with a "a problem
> caused the program to stop working ..."
Is there a way to get
On Thursday, 11 January 2018 at 23:29:30 UTC, Adam D. Ruppe wrote:
On Thursday, 11 January 2018 at 23:20:44 UTC, WhatMeWorry wrote:
When I simply move the array out of main() but still in app.d,
the compiler returns
Error: expression ["SCRATCH":Track("scratch.wav",
cast(Sound)1, 0, null),...
On Fri, Jan 12, 2018 at 10:49:45AM -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
> On Fri, Jan 12, 2018 at 11:09:47AM +, kdevel via Digitalmars-d-learn
> wrote:
> [...]
[...]
> > https://issues.dlang.org/show_bug.cgi?id=18232
>
> Yep, definitely a codegen bug. Apparently, local
https://issues.dlang.org/show_bug.cgi?id=18232
hst...@quickfur.ath.cx changed:
What|Removed |Added
Keywords||pull
--- Comment #5 from
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
2) We start to run into random failures lately, e.g.
On Friday, 12 January 2018 at 05:14:12 UTC, Jonathan M Davis
wrote:
On Thursday, January 11, 2018 14:07:18 Ali Çehreli via
Digitalmars-d-learn wrote:
[...]
And if all what you're doing is printing the value out, you
might as well just print the Duration directly rather than
calling total.
https://issues.dlang.org/show_bug.cgi?id=18232
--- Comment #4 from hst...@quickfur.ath.cx ---
More interesting clues: running a union method inside CTFE containing a local
variable without an explicit initializer causes a CTFE error "cannot modify
variable at compile time", whereas explicitly
On Fri, Jan 12, 2018 at 11:09:47AM +, kdevel via Digitalmars-d-learn wrote:
[...]
> On Friday, 12 January 2018 at 02:16:39 UTC, Adam D. Ruppe wrote:
[...]
> > I'd file this as a compiler codegen bug.
>
> https://issues.dlang.org/show_bug.cgi?id=18232
Yep, definitely a codegen bug.
On Friday, 12 January 2018 at 18:25:37 UTC, Rainer Schuetze wrote:
IMO removing the detected entries from sc.ini should be good
enough: https://github.com/dlang/dmd/pull/7686. The linker path
is built from the other VC variables. I've based it on stable
in the hope it will make it into
On Friday, 12 January 2018 at 18:50:10 UTC, Basile B. wrote:
On Friday, 12 January 2018 at 17:58:30 UTC, Stefan Koch wrote:
On Friday, 12 January 2018 at 14:13:22 UTC, Basile B. wrote:
I have a simple program that only compiles if the dependency
is not pre-compiled as a static library. It
On Friday, 12 January 2018 at 17:17:02 UTC, Seb wrote:
On Friday, 12 January 2018 at 16:50:21 UTC, Joakim wrote:
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://issues.dlang.org/show_bug.cgi?id=18232
--- Comment #3 from hst...@quickfur.ath.cx ---
Minimized code:
--
union U {
int method() {
int x;
return x;
}
}
--
The disassembly shows that x is never initialized to 0, and a garbage value is
returned.
--
https://issues.dlang.org/show_bug.cgi?id=18232
hst...@quickfur.ath.cx changed:
What|Removed |Added
Summary|string variable in toString |Union methods fail to
On 12.01.2018 12:42, Andre Pany wrote:
On Monday, 8 January 2018 at 22:41:31 UTC, Rainer Schuetze wrote:
Unfortunately the corresponding installer PRs didn't make it into the
release, so you still have to remove most options of section
Environment64 from sc.ini yourself. This should be
https://issues.dlang.org/show_bug.cgi?id=18232
--- Comment #2 from hst...@quickfur.ath.cx ---
Note also, the name `toString` is irrelevant to this bug. The same codegen bug
appears if you rename the method to something else, like 'member'.
Furthermore, the local variable doesn't have to be a
https://issues.dlang.org/show_bug.cgi?id=18233
Rainer Schuetze changed:
What|Removed |Added
Keywords||pull
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=18232
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment
https://issues.dlang.org/show_bug.cgi?id=18233
Issue ID: 18233
Summary: building with -m64 doesn't work with sc.ini from the
zip distribution and VS2017
Product: D
Version: D2
Hardware: x86_64
OS: Windows
On Friday, 12 January 2018 at 14:13:22 UTC, Basile B. wrote:
I have a simple program that only compiles if the dependency is
not pre-compiled as a static library. It worked fine before.
Please test this
---
if [ ! -d "iz" ]; then
git clone https://www.github.com/BBasile/iz.git
fi
cd
https://issues.dlang.org/show_bug.cgi?id=18193
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/10afa6944bb3ac479cbcabc5499a86136907b95f
Fix issue 18193 - module config is in file
On Friday, 12 January 2018 at 16:50:21 UTC, Joakim wrote:
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
Not really, he just wants to
On Friday, 12 January 2018 at 16:50:21 UTC, Joakim wrote:
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
2) We start to run into random failures lately, e.g.
https://github.com/braddr/d-tester/issues/63
https://github.com/dlang/dmd/pull/7569#issuecomment-356992048
Seem like issues
On Wednesday, 10 January 2018 at 20:53:24 UTC, Anonymouse wrote:
None of the (version specifiers in the) build configurations I
have touch upon the part of the fairly innocent code mentioned
in the error message, if I'm reading it right.
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
Not really, he just wants to dogfood betterC on the dmd backend
when it's ported to D.
2)
On Friday, 12 January 2018 at 13:04:30 UTC, aliak wrote:
On Friday, 12 January 2018 at 10:55:53 UTC, Seb wrote:
On Friday, 12 January 2018 at 00:16:07 UTC, aliak wrote:
Hi, so basically is there a way to:
void func(alias pred = null, Range)(Range range) {
// 1) check if
On Friday, 12 January 2018 at 16:21:25 UTC, Stefan Koch wrote:
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
2) We start to run into random
On Friday, 12 January 2018 at 16:13:39 UTC, Seb wrote:
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
2) We start to run into random failures lately, e.g.
Motivation
--
1) It's required for Walter's work on using -betterC for the
backend conversion:
https://github.com/dlang/dmd/pull/6907
2) We start to run into random failures lately, e.g.
https://github.com/braddr/d-tester/issues/63
On Thursday, 21 December 2017 at 13:59:28 UTC, Jack Stouffer
wrote:
...
While I believe my library has certain API advantages, I'm really
not interested in duplicating a bunch of work when rumbu's
version is pretty much complete, so I'm dropping this.
On Friday, 12 January 2018 at 10:53:04 UTC, Seb wrote:
canFind uses find internally, which already has a shortcut for
SortedRange.
I don't like contains either, but the idea was to have a
separate method with different performance guarantees as
canFind is typically O(n).
Anyways I have tried
I have a simple program that only compiles if the dependency is
not pre-compiled as a static library. It worked fine before.
Please test this
---
if [ ! -d "iz" ]; then
git clone https://www.github.com/BBasile/iz.git
fi
cd iz/scripts
sh compile.sh
cd ../
#fails to link
dmd
On Thursday, 11 January 2018 at 22:07:42 UTC, H. S. Teoh wrote:
On Thu, Jan 11, 2018 at 04:38:57PM -0500, Steven Schveighoffer
via Digitalmars-d-announce wrote:
On 1/11/18 4:12 PM, kdevel wrote:
> On Thursday, 11 January 2018 at 20:40:01 UTC, Dmitry
> Olshansky wrote:
> > What did you expect?
https://issues.dlang.org/show_bug.cgi?id=17462
RazvanN changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=17462
RazvanN changed:
What|Removed |Added
Severity|enhancement |normal
--
On Monday, 8 January 2018 at 22:16:25 UTC, rumbu wrote:
- all std.math functions implemented (even logarithms and
trigonometry);
nosine.d
```
import std.stdio;
// import std.math;
import decimal;
void nosine (T) ()
{
T d = T(1.1);
writeln (sin(d));
}
void main ()
{
nosine!decimal32;
On Friday, 12 January 2018 at 12:57:37 UTC, kdevel wrote:
On Friday, 12 January 2018 at 12:45:59 UTC, kdevel wrote:
suffix.d
```
void main ()
{
real r = 1.L;
float f = 1.f;
}
```
$ dmd suffix.d
suffix.d(3): Error: no property 'L' for type 'int'
suffix.d(4): Error: no property 'f' for
On Friday, 12 January 2018 at 10:55:53 UTC, Seb wrote:
On Friday, 12 January 2018 at 00:16:07 UTC, aliak wrote:
Hi, so basically is there a way to:
void func(alias pred = null, Range)(Range range) {
// 1) check if pred(ElementType!Range.init,
ElementType!Range.init) is equality
// 2)
On Friday, 12 January 2018 at 08:18:02 UTC, Simen Kjærås wrote:
On Friday, 12 January 2018 at 00:16:07 UTC, aliak wrote:
Hi, so basically is there a way to:
void func(alias pred = null, Range)(Range range) {
// 1) check if pred(ElementType!Range.init,
ElementType!Range.init) is equality
On Friday, 12 January 2018 at 12:45:59 UTC, kdevel wrote:
suffix.d
```
void main ()
{
real r = 1.L;
float f = 1.f;
}
```
$ dmd suffix.d
suffix.d(3): Error: no property 'L' for type 'int'
suffix.d(4): Error: no property 'f' for type 'int'
According to the grammar in
On Friday, 12 January 2018 at 05:18:15 UTC, rumbu wrote:
On Thursday, 11 January 2018 at 23:57:29 UTC, kdevel wrote:
What about the failed comparison:
You are right in fact, there is also a failed comparison. Now
corrected.
Works. Thanks for the changes!
suffix.d
```
void main ()
{
real r = 1.L;
float f = 1.f;
}
```
$ dmd suffix.d
suffix.d(3): Error: no property 'L' for type 'int'
suffix.d(4): Error: no property 'f' for type 'int'
According to the grammar in dmd2/html/d/spec/lex.html both are
valid FloatLiterals. Any comments?
https://issues.dlang.org/show_bug.cgi?id=18232
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||wrong-code
CC|
On Friday, 12 January 2018 at 08:55:13 UTC, Rene Zwanenburg wrote:
It looks to me like the program is being run through dub, and
dub is just reporting the program's exit code.
I see now. I glossed right over that execution output. On
Windows, I don't recall ever seeing a dub exception
On Sunday, 7 January 2018 at 02:17:02 UTC, Stefan Koch wrote:
On Sunday, 7 January 2018 at 01:08:44 UTC, H. S. Teoh wrote:
On Sun, Jan 07, 2018 at 12:55:27AM +, Stefan Koch via
Digitalmars-d-learn wrote:
On Saturday, 6 January 2018 at 23:25:58 UTC, Ali Çehreli
wrote:
> Is 'static foreach'
On Monday, 8 January 2018 at 22:41:31 UTC, Rainer Schuetze wrote:
Unfortunately the corresponding installer PRs didn't make it
into the release, so you still have to remove most options of
section Environment64 from sc.ini yourself. This should be
enough
[Environment64]
LIB=%@P%\..\lib64
мinterest Ask. our service
https://reviews-up.com/android-app-reviews/ with the help of
specialists will help you in promoting your application and
solving this issue
On Friday, 12 January 2018 at 10:13:13 UTC, Leandro Lucarella
wrote:
From what I saw in the code, I think what it does is just
override where the code was actually placed when you compiled,
so tools to visualize the coverage can show you the source code.
*
Thanks for the quick answer!
On Friday, 12 January 2018 at 02:16:39 UTC, Adam D. Ruppe wrote:
On Friday, 12 January 2018 at 00:54:03 UTC, kdevel wrote:
$ dmd crash.d
$ ./crash
Nicholas Wilson is right that you can use = "" to work around
it, but with strings, null is supposed to behave the
https://issues.dlang.org/show_bug.cgi?id=18232
Issue ID: 18232
Summary: string variable in toString method of Union: invalid
code (crash/segfault)
Product: D
Version: D2
Hardware: x86_64
OS: Linux
https://issues.dlang.org/show_bug.cgi?id=18231
Issue ID: 18231
Summary: multiwayMerge could be optimized
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority:
https://issues.dlang.org/show_bug.cgi?id=18230
Seb changed:
What|Removed |Added
OS|Linux |All
--
https://issues.dlang.org/show_bug.cgi?id=18230
Issue ID: 18230
Summary: multiwayUnion sets wrong pred lambdas
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
On Friday, 12 January 2018 at 00:16:07 UTC, aliak wrote:
Hi, so basically is there a way to:
void func(alias pred = null, Range)(Range range) {
// 1) check if pred(ElementType!Range.init,
ElementType!Range.init) is equality
// 2) check if isUnary!pred
// 3) check if isBinary!pred
}
On Friday, 12 January 2018 at 09:52:36 UTC, aliak wrote:
Would it be an acceptable enhancement to phobos to expose the
predicate in SortedRange
(https://dlang.org/library/std/range/sorted_range.html)?
The rationale behind it would be so that functions like
setDifference
On Wednesday, 10 January 2018 at 05:35:05 UTC, Andre Pany wrote:
On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak
wrote:
Glad to announce D 2.078.0.
This release comes with runtime detection of Visual Studio
installation paths, an integral promotion transition for unary
operations
https://issues.dlang.org/show_bug.cgi?id=18218
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/18accb5d8dc4edc4afcf45d72897f774e08f7431
Fix Issue 18218 - __traits(isDeprecated, creal) should return
https://issues.dlang.org/show_bug.cgi?id=18218
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
1 - 100 of 105 matches
Mail list logo