On Tuesday, 10 March 2015 at 10:36:21 UTC, ketmar wrote:
On Tue, 10 Mar 2015 10:27:13 +, John Colvin wrote:
struct S {
int a;
this(T)(T v)
{
this = v;
}
void foo(T)(T v) {
import std.conv : to;
a =
https://issues.dlang.org/show_bug.cgi?id=14258
--- Comment #5 from Sönke Ludwig slud...@outerproduct.org ---
The crash occurs because the proper termination conditions for recursive macro
calls are not implemented. I'll do that.
There could be an additional issue in the GC/array implementation,
https://issues.dlang.org/show_bug.cgi?id=14258
--- Comment #6 from Vladimir Panteleev thecybersha...@gmail.com ---
Except for address space exhaustion, OutOfMemoryError will never realistically
occur in any OS with overcommit.
--
https://issues.dlang.org/show_bug.cgi?id=14269
Dicebot pub...@dicebot.lv changed:
What|Removed |Added
CC||pub...@dicebot.lv
--- Comment #3
https://issues.dlang.org/show_bug.cgi?id=14269
Jonathan M Davis issues.dl...@jmdavisprog.com changed:
What|Removed |Added
CC|
On Friday, 6 March 2015 at 22:41:16 UTC, Zach the Mystic wrote:
You've packed a lot of ideas into one post. Your solution might
work, but it's hard for me to tell.
Yeah... How about this one:
In C++ type of this is T*. If we could pass shared_ptrT as
this (instead of raw ptr) system will be
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #5 from Dicebot pub...@dicebot.lv ---
It's quite normal
It is common, not normal. And this attitude needs to change if D wants to be
considered stable for production usage for wider audience. Fortunately, so far
seem that Martin shares
Thanks a lot!
Kind regards
André
On Tuesday, 10 March 2015 at 08:40:28 UTC, Jonathan M Davis wrote:
On Tuesday, March 10, 2015 07:24:52 Andre via
Digitalmars-d-learn wrote:
Hi,
with the new beta I get the warning I should use
std.algorithm.sort instead the .sort property. I thought the
https://issues.dlang.org/show_bug.cgi?id=14235
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/643ca3f02c237631aa4415386e8abd253f4d66bf
Merge pull request #4452 from
On Monday, 9 March 2015 at 18:48:53 UTC, captaindet wrote:
after original package installation setup whatnot, will i
end up with a dedicated gtk3 folder
msys provides pacman and gtk3 package to fetch (and build?).
On Tuesday, 10 March 2015 at 08:02:00 UTC, Kagamin wrote:
Yet, web 2.0 technologies have only rudimentary notion of
backward compatibility, all it breaks routinely.
No... there are sometimes regressions, but only for a few
releases. It does not matter when you bundle the engine with the
struct S
{
int a;
this(T)(T v)
{
this = v;
}
void foo(T)(T v)
{
import std.conv : to;
a = v.to!int;
}
alias foo this;
}
void bar(S s){}
void main()
{
S s0;
s0 = 3;
https://issues.dlang.org/show_bug.cgi?id=14198
--- Comment #11 from github-bugzi...@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/4dfde4caab8fb9e12c035784d5ddf33925ea3526
Merge pull request
https://issues.dlang.org/show_bug.cgi?id=14233
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/35ccb6aa9360f3d8cd63cb31ea25e7a596546a96
Merge pull request
https://issues.dlang.org/show_bug.cgi?id=14213
--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/b8627ba4f639f57a079fbba2b93a913d91404f6b
Merge pull request
https://issues.dlang.org/show_bug.cgi?id=13390
--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/e2d774fc85804ce1eabdaf5f526fb287a2d48417
Merge pull request
https://issues.dlang.org/show_bug.cgi?id=14269
ncras...@gmail.com changed:
What|Removed |Added
CC||ncras...@gmail.com
--
On Saturday, 7 March 2015 at 04:54:38 UTC, David Soria Parra
wrote:
Hi,
I've been working with Martin Nowak and Andrei in the last few
weeks to get ideas and write up a DIP on D's release process.
With D maturing more and more I believe it is time to formalize
the release process and do a
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #7 from Dicebot pub...@dicebot.lv ---
For the stability, we have to defer to fix bug by adding deprecation stage
Yes, unless it compromises program correctness (memory corruption, wrong
codegen etc). It is a normal practice in majority
On Tue, 10 Mar 2015 10:27:13 +, John Colvin wrote:
struct S {
int a;
this(T)(T v)
{
this = v;
}
void foo(T)(T v) {
import std.conv : to;
a = v.to!int;
}
alias foo this;
}
void bar(S s){}
void
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote:
Hello,
I'm working on cross-platform D language IDE - DlangIDE.
It's written in D using DlangUI based GUI.
Project on GitHub: https://github.com/buggins/dlangide
It's in alpha stage but already allows:
* Open DUB based projects
On Tuesday, 10 March 2015 at 10:27:14 UTC, John Colvin wrote:
struct S
{
int a;
this(T)(T v)
{
this = v;
}
void foo(T)(T v)
{
import std.conv : to;
a = v.to!int;
}
alias foo this;
}
On Monday, 9 March 2015 at 14:25:54 UTC, Michael Robertson wrote:
On Friday, 6 March 2015 at 02:41:19 UTC, Bennet wrote:
I wrote a custom OBJ file importer which worked fairly well
however was not robust enough to support everything. I've
decided to give AssImp a shot. I followed some
https://issues.dlang.org/show_bug.cgi?id=14232
--- Comment #20 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/53c5b59ca83e471fea6e4464862b39e62df0f335
Merge pull request #4458
Thanks a lot!
Kind regards
André
On Tuesday, 10 March 2015 at 09:25:02 UTC, Meta wrote:
On Tuesday, 10 March 2015 at 08:37:46 UTC, Jonathan M Davis
wrote:
It's the base type that isn't implicitly convertible to the
enum type.
Err, yes. I had that the wrong way around. Anyway, I filed an
On Tuesday, March 10, 2015 00:41:50 Daniel Murphy via Digitalmars-d wrote:
Vladimir Panteleev wrote in message
news:vdwvdnzzzhenuybcb...@forum.dlang.org...
What about source Linux distributions, like Gentoo?
What do other self-hosted languages do in this situation?
Download the zip.
On Tue, 10 Mar 2015 10:32:09 +, Ola Fosheim Grøstad wrote:
On Tuesday, 10 March 2015 at 01:25:05 UTC, karl wrote:
Also, GL should be optional, just like with Qt; it introduces
noticeable lag of 16 to 48ms while being a resource hog unnecessary for
most apps. I could help with
https://issues.dlang.org/show_bug.cgi?id=13116
--- Comment #10 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/4d7040a5296a3a5e155b1dd37c0fbad480a2061b
Merge pull request #4463
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #6 from Kenji Hara k.hara...@gmail.com ---
(In reply to Dicebot from comment #5)
And this attitude needs to change if D wants to be
considered stable for production usage for wider audience.
For the stability, we have to defer to fix
On Tuesday, 10 March 2015 at 01:25:05 UTC, karl wrote:
Also, GL should be optional, just like with Qt; it introduces
noticeable lag of 16 to 48ms while being a resource hog
unnecessary for most apps. I could help with implementing the
abstraction layer and create a software blitter (I was
https://issues.dlang.org/show_bug.cgi?id=14206
--- Comment #1 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/efabbd365e4b46337135240f18ad96fd6d78c921
std.math №3: conj for
https://issues.dlang.org/show_bug.cgi?id=14232
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
On Tuesday, 10 March 2015 at 10:33:24 UTC, Jonathan M Davis wrote:
And it's not like dmd would be alone with this problem. Other
languages'
compilers are written in the language that they compile as well
Yeah, besides you could cross compile to LLVM IR and use whatever
LLVM tools exists on
https://issues.dlang.org/show_bug.cgi?id=14258
--- Comment #8 from Vladimir Panteleev thecybersha...@gmail.com ---
On Linux, what usually happens upon attempting to commit (write to) a page that
has been overcommitted (COW of a zero page), when there are no free pages and
no pages to swap or
https://issues.dlang.org/show_bug.cgi?id=14258
--- Comment #9 from Sönke Ludwig slud...@outerproduct.org ---
Hm, you are right of course, totally forgot about that.
--
https://issues.dlang.org/show_bug.cgi?id=14258
--- Comment #7 from Sönke Ludwig slud...@outerproduct.org ---
My systems all have limited swap space - what would the OS do when all that
memory is filled with data (note that the array that is piled up is actually
written to)?
I've added the
On Monday, 9 March 2015 at 13:33:16 UTC, Adam D. Ruppe wrote:
I ran out of my backlog and haven't had the time to write up
new ones the last couple weeks because of other obligations
eating up all my time (this week, I had to travel for a work
Don't wear yourself out on a weekly deadline,
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #8 from Kenji Hara k.hara...@gmail.com ---
(In reply to Dicebot from comment #7)
unless it compromises program correctness (memory corruption, wrong
codegen etc).
In 2.066 and earlier, the program correctness had been compromised and
On Tuesday, 10 March 2015 at 22:37:29 UTC, Ali Çehreli wrote:
On 03/10/2015 03:16 PM, Meta wrote:
Just add a condition variable.
import std.stdio;
import std.algorithm;
import std.parallelism;
void main() {
int b = 2;
auto a = [1, 2, 2, 3];
if (find(a, b).length !=
On Tuesday, 10 March 2015 at 22:59:39 UTC, Dicebot wrote:
On Tuesday, 10 March 2015 at 20:28:10 UTC, Andrei Alexandrescu
wrote:
So what happened with this? Ping @ Dicebot -- Andrei
Discussion mostly stalled with me and Vladimir having different
estimate of trafe-off between keeping
On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu
wrote:
3. As I articulated in the vision document, we aim at making
vibe.d an integral part of the D distribution. That's more than
a packaging issue: (a) vibe.d must follow the same release
process, perhaps even same version
On 11/03/2015 4:16 p.m., Taylor Hillegeist wrote:
So I found http://ec-lang.org/ it seems alot like D, But it has a
company backing it. It just seems interesting.
There is almost no meta programming support. Let alone CTFE.
And no generics in the form of e.g. Java's is not the same as D's
On 3/10/15 8:43 PM, Vladimir Panteleev wrote:
On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu wrote:
3. As I articulated in the vision document, we aim at making vibe.d an
integral part of the D distribution. That's more than a packaging
issue: (a) vibe.d must follow the same
Hey folks, a while ago I raised the point about the bad rendering of
ddox-generated pages, for example:
http://dlang.org/library/std/algorithm/findSplit.html
Google returns such links so it's important the pages look professional.
Could somebody fluent with ddox get on this sooner than ASAP
Looks like bug, investigating.
https://issues.dlang.org/show_bug.cgi?id=14275
https://issues.dlang.org/show_bug.cgi?id=14264
--- Comment #8 from Ketmar Dark ket...@ketmar.no-ip.org ---
(In reply to Kenji Hara from comment #7)
If you consider to start contribution to the dmd codebase for the bugfix,
It's very glad to us.
i'm slowly working on my aliced patchset,
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #12 from Steven Schveighoffer schvei...@yahoo.com ---
(In reply to Jonathan M Davis from comment #10)
Personally, I think that all operations that the compiler can't guarantee
will result in a valid enum value for an enum type should
https://issues.dlang.org/show_bug.cgi?id=14267
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e5e7ddca3fd90a8fc473a594efd9204fc6818f73
fix Issue 14267 - ICE when
On 03/10/2015 01:37 AM, Jonathan M Davis via Digitalmars-d-learn wrote:
However, the code in question still shouldn't compile because while a
Bits
variable may be implicitly convertible to ulong, it _isn't_ a ulong,
In other words, the result of the implicit conversion is an rvalue,
https://issues.dlang.org/show_bug.cgi?id=14264
--- Comment #7 from Kenji Hara k.hara...@gmail.com ---
(In reply to Ketmar Dark from comment #6)
The wrong call order has been there before the my first contribution for dmd
codebase.
to be clear: i didn't mean that this was the code you
Andrei Alexandrescu wrote in message
news:mdo864$1jbk$1...@digitalmars.com...
But this is weird - a release being built is required for building, um,
itself?
I do understand that idgen is a separate executable but the simple view is
that if dmd 2.067 requires dmd being present, the
On 3/10/15 7:13 PM, Dicebot wrote:
On Wednesday, 11 March 2015 at 02:10:12 UTC, Andrei Alexandrescu wrote:
On 3/10/15 5:06 PM, Daniel Murphy wrote:
Andrei Alexandrescu wrote in message
news:mdnvct$1avc$1...@digitalmars.com...
I think that's 2.066.1, right?
2.066.1 is enough to build
https://issues.dlang.org/show_bug.cgi?id=14275
--- Comment #1 from Dicebot pub...@dicebot.lv ---
Bug is in usage of this access.c function:
265 /
266 * Determine if scope sc has package level access to s.
267 */
268 bool hasPackageAccess(Scope *sc,
On 3/10/15 5:06 PM, Daniel Murphy wrote:
Andrei Alexandrescu wrote in message
news:mdnvct$1avc$1...@digitalmars.com...
I think that's 2.066.1, right?
2.066.1 is enough to build idgen.d, but it can't build ddmd on all
platforms. Among other things, the varargs fixes are missing.
But this
So I found http://ec-lang.org/ it seems alot like D, But it has a
company backing it. It just seems interesting.
On Wednesday, 11 March 2015 at 05:21:27 UTC, Vladimir Panteleev
wrote:
On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei
Alexandrescu wrote:
Hey folks, a while ago I raised the point about the bad
rendering of ddox-generated pages, for example:
On 3/10/2015 10:15 PM, Andrei Alexandrescu wrote:
Hey folks, a while ago I raised the point about the bad rendering of
ddox-generated pages, for example:
http://dlang.org/library/std/algorithm/findSplit.html
Google returns such links so it's important the pages look professional. Could
On Wednesday, 11 March 2015 at 05:16:38 UTC, Andrei Alexandrescu
wrote:
That doesn't ensure e.g. version compatibility etc. I repeat:
my vision is to make vibe readily available with the D
distribution, just like druntime and phobos. Of course dub is
nice to include as well but not my main
On 3/10/15 10:21 PM, Vladimir Panteleev wrote:
On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu wrote:
Hey folks, a while ago I raised the point about the bad rendering of
ddox-generated pages, for example:
http://dlang.org/library/std/algorithm/findSplit.html
Google returns
On Wednesday, 11 March 2015 at 05:16:38 UTC, Andrei Alexandrescu
wrote:
That doesn't ensure e.g. version compatibility etc. I repeat:
my vision is to make vibe readily available with the D
distribution, just like druntime and phobos. Of course dub is
nice to include as well but not my main
https://issues.dlang.org/show_bug.cgi?id=14275
Dicebot pub...@dicebot.lv changed:
What|Removed |Added
Keywords||pull
--
https://issues.dlang.org/show_bug.cgi?id=14275
--- Comment #2 from Dicebot pub...@dicebot.lv ---
https://github.com/D-Programming-Language/dmd/pull/4476
--
On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu
wrote:
On 3/6/15 8:54 PM, David Soria Parra wrote:
Hi,
I've been working with Martin Nowak and Andrei in the last few
weeks to
get ideas and write up a DIP on D's release process. With D
maturing
more and more I believe it is
On Wednesday, 11 March 2015 at 03:55:21 UTC, Rikki Cattermole
wrote:
On 11/03/2015 4:16 p.m., Taylor Hillegeist wrote:
So I found http://ec-lang.org/ it seems alot like D, But it
has a
company backing it. It just seems interesting.
There is almost no meta programming support. Let alone CTFE.
https://issues.dlang.org/show_bug.cgi?id=14275
Issue ID: 14275
Summary: Qualified package protection for aggregate member
doesn't work
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Wednesday, 11 March 2015 at 02:10:12 UTC, Andrei Alexandrescu
wrote:
On 3/10/15 5:06 PM, Daniel Murphy wrote:
Andrei Alexandrescu wrote in message
news:mdnvct$1avc$1...@digitalmars.com...
I think that's 2.066.1, right?
2.066.1 is enough to build idgen.d, but it can't build ddmd on
all
https://issues.dlang.org/show_bug.cgi?id=14150
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu
wrote:
Hey folks, a while ago I raised the point about the bad
rendering of ddox-generated pages, for example:
http://dlang.org/library/std/algorithm/findSplit.html
Google returns such links so it's important the pages look
https://issues.dlang.org/show_bug.cgi?id=14269
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=9449
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Status|REOPENED|RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=14264
--- Comment #6 from Ketmar Dark ket...@ketmar.no-ip.org ---
The wrong call order has been there before the my first contribution for dmd
codebase.
to be clear: i didn't mean that this was the code you wrote. what i mean is
that you have excellent
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #10 from Jonathan M Davis issues.dl...@jmdavisprog.com ---
Personally, I think that all operations that the compiler can't guarantee will
result in a valid enum value for an enum type should result in the base type of
the enum rather than
On Mon, 09 Mar 2015 13:48:54 -0500, captaindet wrote:
thanks for the info. however, i am not familiar with this project. to be
honest, it is not quite clear to me what MSYS2 is good for or who would need
it. the dox are very slim. so before i dig too deep into what looks like a
lot of
On Monday, 9 March 2015 at 22:15:43 UTC, Ali Çehreli wrote:
You are right. I had the same observation at minute 11:27
below, where I warn against UFCS with assumeWontThrow:
http://www.youtube.com/watch?feature=player_detailpagev=oF8K4-bieaw#t=687
Ali
Sorry, which is right? I know ifThrown
https://issues.dlang.org/show_bug.cgi?id=14269
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment
On Tuesday, 10 March 2015 at 14:41:00 UTC, Logan Capaldo wrote:
On Monday, 9 March 2015 at 22:15:43 UTC, Ali Çehreli wrote:
You are right. I had the same observation at minute 11:27
below, where I warn against UFCS with assumeWontThrow:
https://issues.dlang.org/show_bug.cgi?id=9397
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Tuesday, 10 March 2015 at 09:24:54 UTC, wobbles wrote:
On Tuesday, 10 March 2015 at 08:06:18 UTC, ponce wrote:
On Monday, 9 March 2015 at 22:29:42 UTC, amber wrote:
There are a bunch of good tips here:
http://p0nce.github.io/d-idioms/
If the author(s) are OK with the idea you could use
On Tue, 10 Mar 2015 20:01:01 +, karl wrote:
SDL2: Chooses the deprecated color-mode in GLX; prevents you from
creating a core context; keeps the baseline as if everyone has only
hardware from 2001 or earlier that somehow still works; while preventing
batching at every single operation.
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #15 from monkeywork...@hotmail.com ---
(In reply to Dicebot from comment #3)
It shouldn't compile but, same as with other such changes, it needs
deprecation stage.
That would imply that deprecations are ever done in D ;-) How long has
On Tue, 10 Mar 2015 20:24:03 +, karl wrote:
Good for you then. Sucks to be _everyone_ else using this planned
toolkit which is riding on the GL-is-vital-for GUI hypetrain, eh?
never had *any* problems with GL toolkits.
ah, well, there was a 20 minutes when i had problems: when i decided
On 2015-03-10 10:56, jollie wrote:
On Mon, 09 Mar 2015 13:48:54 -0500, captaindet wrote:
thanks for the info. however, i am not familiar with this project. to be
honest, it is not quite clear to me what MSYS2 is good for or who would need
it. the dox are very slim. so before i dig too deep
https://issues.dlang.org/show_bug.cgi?id=14272
Issue ID: 14272
Summary: DMD segfault in in Dsymbol::checkDeprecated(Loc,
Scope*) on possibly invalid code
Product: D
Version: D2
Hardware: All
OS: All
Good for you then. Sucks to be _everyone_ else using this planned
toolkit which is riding on the GL-is-vital-for GUI hypetrain, eh?
On Saturday, 7 March 2015 at 21:14:36 UTC, Mike Wey wrote:
I'm glad to announce the first GtkD release that makes use of
the new gir based generator.
The generator was rebuild from the ground up since the old one
was no longer usable with the new GTK+ documentation.
For a list of changes see
So what happened with this? Ping @ Dicebot -- Andrei
On 03/10/2015 11:05 AM, Ali Çehreli wrote:
In other words, the result of the implicit conversion is an rvalue
Steven Schveighoffer says there is no rvalue in this case; an enum is a
derivative:
https://issues.dlang.org/show_bug.cgi?id=14269#c14
Ali
Hi.
How to parallelize a large array to check for the presence of an
element matching the value with the data?
std.stdio;
std.algorithm;
std.parallelism;
void main() {
int[] a = new int[100];
foreach (i, ref elem; a)
elem = i;
/*if
Hi,
in this minified example I try to expand the variadic parmaters of
foo to bar:
import std.typecons;
void foo(T ...)(T args)
{
bar(args.expand);
}
void bar(int i, string s){}
void main()
{
foo(1, a);
}
I got the syntax error: no property 'expand' for type '(int,
string)'
I
https://issues.dlang.org/show_bug.cgi?id=14272
Nicolas Sicard dran...@gmail.com changed:
What|Removed |Added
Keywords||ice
--
https://issues.dlang.org/show_bug.cgi?id=13681
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=12420
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14271
Issue ID: 14271
Summary: DMD 2.067-b4: strange behaviour of new package syntax
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity:
https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #14 from Steven Schveighoffer schvei...@yahoo.com ---
(In reply to Ali Cehreli from comment #13)
If the implicitly-converted value is an rvalue (as it is), where is it
stored to take the reference of?
No, an enum is a derivative. It's
Might be worthwhile reading
https://docs.google.com/a/golang.org/document/d/1wmjrocXIWTr1JxU-3EQBI6BK6KgtiFArkG47XK73xIQ/preview?sle=truepli=1#heading=h.xy314pvxblbm
On Tuesday, 10 March 2015 at 19:11:22 UTC, André wrote:
Is there a simple way to get it working?
The simplest: just write `bar(args);` - the variadic arguments
will automatically expand.
On Tue, 10 Mar 2015 19:11:21 +, André wrote:
Hi,
in this minified example I try to expand the variadic parmaters of foo
to bar:
import std.typecons;
void foo(T ...)(T args)
{
bar(args.expand);
}
void bar(int i, string s){}
void main()
{
foo(1, a);
}
I
SDL2: Chooses the deprecated color-mode in GLX; prevents you from
creating a core context; keeps the baseline as if everyone has
only hardware from 2001 or earlier that somehow still works;
while preventing batching at every single operation. glBegin,
glRectf,
https://issues.dlang.org/show_bug.cgi?id=12420
--- Comment #11 from Denis Shelomovskij verylonglogin@gmail.com ---
(In reply to Steven Schveighoffer from comment #10)
(In reply to Denis Shelomovskij from comment #9)
I can't believe anyone can accept bahaviour shown in Comment 6.
I
1 - 100 of 161 matches
Mail list logo