On 07/09/13 12:50, John Colvin wrote:
JS asked about this in the main group, but here is more appropriate and I'm
quite interested myself.
Function/delegate *literals* in aggregates are not accepted by the compiler.
It's just a compiler issue; iirc the frontend recently got a bit smarter about
On Tuesday, 9 July 2013 at 12:32:55 UTC, Artur Skawina wrote:
On 07/09/13 12:50, John Colvin wrote:
JS asked about this in the main group, but here is more
appropriate and I'm quite interested myself.
Function/delegate *literals* in aggregates are not accepted by
the compiler.
Probably
On 07/09/2013 02:32 PM, Artur Skawina wrote:
IIRC this issue is already reported somewhere in bugzilla.
http://d.puremagic.com/issues/show_bug.cgi?id=7653
On Tuesday, 2 July 2013 at 12:52:49 UTC, bearophile wrote:
Adam D. Ruppe:
The older std.c is kept around just for compatibility with the
old names before the move, at least as far as I know. Maybe
they haven't fully deprecated it though because there's other
reasons I don't know about, since
On Tuesday, 9 July 2013 at 08:55:29 UTC, monarch_dodra wrote:
On Monday, 8 July 2013 at 19:20:46 UTC, John Colvin wrote:
I don't see how it is problematic? The firewall doesn't allow
a particular type of connection, so you cache the result
somewhere else and then access it via something that
On 07/05/2013 04:16 PM, Joseph Rushton Wakeling wrote:
To this we can add: http://d.puremagic.com/issues/show_bug.cgi?id=10550
At least 2 of the Xorshift generators (32 and 160) depart strongly from
uniformity in their output.
Because the others appear OK, my guess would be that the fault
enum tokenRange = matchStr.split(,)
.map!(a = a.findSplit(`=`)
.array
.map!strip)
.filter!!a.empty;
This won't compile. The error message is:
.../core/memory.d(337):
On Tuesday, 9 July 2013 at 16:44:29 UTC, John Colvin wrote:
Fixed in git master. array was not ctfe-able until a few months
back. What compiler version/release are you using?
I'm using DPaste, but setting the compiler to use the latest from
GIT fixed it. Thanks!
On Tuesday, 9 July 2013 at 16:48:20 UTC, John Colvin wrote:
which dpaste is that? http://dpaste.dzfl.pl/ gives me the error
even using dmd 2.X Git
Actually, yes, it still does not work. I forgot that I had
changed enum to auto to get it working. My bad.
On Tuesday, 9 July 2013 at 16:47:02 UTC, Meta wrote:
On Tuesday, 9 July 2013 at 16:44:29 UTC, John Colvin wrote:
Fixed in git master. array was not ctfe-able until a few
months back. What compiler version/release are you using?
I'm using DPaste, but setting the compiler to use the latest
On Jul 1, 2013, at 4:04 AM, Joseph Rushton Wakeling
joseph.wakel...@webdrake.net wrote:
I've noticed that when an assert fails inside a thread, no error message is
printed and the program/thread just hangs.
Is there any way to ensure that an assertion failure inside a thread does
output
On Tuesday, 9 July 2013 at 16:48:20 UTC, John Colvin wrote:
On Tuesday, 9 July 2013 at 16:47:02 UTC, Meta wrote:
On Tuesday, 9 July 2013 at 16:44:29 UTC, John Colvin wrote:
Fixed in git master. array was not ctfe-able until a few
months back. What compiler version/release are you using?
I'm
On Tuesday, 9 July 2013 at 19:06:36 UTC, monarch_dodra wrote:
On Tuesday, 9 July 2013 at 16:48:20 UTC, John Colvin wrote:
On Tuesday, 9 July 2013 at 16:47:02 UTC, Meta wrote:
On Tuesday, 9 July 2013 at 16:44:29 UTC, John Colvin wrote:
Fixed in git master. array was not ctfe-able until a few
On Mon, Jul 08, 2013 at 05:09:14PM -0700, Jonathan M Davis wrote:
On Monday, July 08, 2013 16:58:03 H. S. Teoh wrote:
On Mon, Jul 08, 2013 at 04:48:05PM -0700, Jonathan M Davis wrote:
On Monday, July 08, 2013 16:38:16 H. S. Teoh wrote:
[...]
Basically, when you write x==y, the
On Tuesday, July 09, 2013 10:39:59 Sean Kelly wrote:
If you join the thread, any unhanded exception will be rethrown in the
joining thread by default.
What about threads which were spawned by std.concurrency? IIRC, those are
never explicitly joined. Is catching Throwable in the spawned thread
On Jul 9, 2013, at 3:33 PM, Jonathan M Davis jmdavisp...@gmx.com wrote:
On Tuesday, July 09, 2013 10:39:59 Sean Kelly wrote:
If you join the thread, any unhanded exception will be rethrown in the
joining thread by default.
What about threads which were spawned by std.concurrency? IIRC,
http://d.puremagic.com/issues/show_bug.cgi?id=9097
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=9097
--- Comment #2 from github-bugzi...@puremagic.com 2013-07-08 22:57:46 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10573
--- Comment #3 from Daniel Kozak kozz...@gmail.com 2013-07-08 23:20:16 PDT ---
(In reply to comment #2)
Btw, I'd be very careful using casts on hashes like that, there's no runtime
checking when you cast hashes, even if the key or value is a
http://d.puremagic.com/issues/show_bug.cgi?id=10580
--- Comment #2 from thelastmamm...@gmail.com 2013-07-08 23:43:37 PDT ---
furthermore the output of command env is returned in a different order
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=10580
--- Comment #1 from thelastmamm...@gmail.com 2013-07-08 23:41:59 PDT ---
it also changes these (at least on OSX):
MANPATH
SHLVL ( this one is normal though)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=10380
--- Comment #4 from Denis Shelomovskij verylonglogin@gmail.com 2013-07-09
10:49:34 MSD ---
(In reply to comment #3)
Do you have any failing unittest for this bug? I can't seem to reproduce the
problem in git HEAD.
It's hard to create
http://d.puremagic.com/issues/show_bug.cgi?id=10481
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10481
--- Comment #3 from github-bugzi...@puremagic.com 2013-07-09 00:40:49 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10579
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||CTFE, ice, pull
---
http://d.puremagic.com/issues/show_bug.cgi?id=10550
--- Comment #15 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net
2013-07-09 01:04:56 PDT ---
Masahiro -- thanks so much for your fast attention to this. :-)
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=10579
--- Comment #2 from github-bugzi...@puremagic.com 2013-07-09 01:10:06 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10579
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=9982
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Version|D2 |D1 D2
http://d.puremagic.com/issues/show_bug.cgi?id=10567
--- Comment #5 from github-bugzi...@puremagic.com 2013-07-09 02:47:53 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime
http://d.puremagic.com/issues/show_bug.cgi?id=9097
--- Comment #3 from bearophile_h...@eml.cc 2013-07-09 03:15:11 PDT ---
In past dmd generated this with dmd -O -inline -release -noboundscheck:
__Dmain:
sub ESP, 0330h
mov ECX, 0C8h
push EDI
mov EAX, 0338h[ESP]
add EAX,
http://d.puremagic.com/issues/show_bug.cgi?id=10574
--- Comment #4 from monarchdo...@gmail.com 2013-07-09 03:56:35 PDT ---
(In reply to comment #3)
(In reply to comment #2)
Just an educated guess. The problem seems to be that the value is a L-value
so
the signature becomes (ref T[])
http://d.puremagic.com/issues/show_bug.cgi?id=10577
--- Comment #3 from github-bugzi...@puremagic.com 2013-07-09 05:58:39 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10380
--- Comment #5 from hst...@quickfur.ath.cx 2013-07-09 06:44:21 PDT ---
I have a fix for this, but I need to somehow make a unittest to verify that it
actually fixes the problem. Maybe we can somehow craft a unittest using
typeid(aa).compare?
http://d.puremagic.com/issues/show_bug.cgi?id=10380
--- Comment #7 from hst...@quickfur.ath.cx 2013-07-09 07:58:00 PDT ---
I figured out a way to test for broken .compare: make an AA key type that
overrides both opEquals and opCmp, and deliberately have wrong implementation
for opCmp.
--
http://d.puremagic.com/issues/show_bug.cgi?id=10380
--- Comment #6 from hst...@quickfur.ath.cx 2013-07-09 07:56:57 PDT ---
https://github.com/D-Programming-Language/druntime/pull/544
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this
http://d.puremagic.com/issues/show_bug.cgi?id=10581
Summary: Undefined identifier std.uni.isWhite when passing
string lambda to std.algorithm.filter
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status:
http://d.puremagic.com/issues/show_bug.cgi?id=7013
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
---
http://d.puremagic.com/issues/show_bug.cgi?id=7012
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
---
http://d.puremagic.com/issues/show_bug.cgi?id=7010
hst...@quickfur.ath.cx changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6829
--- Comment #1 from hst...@quickfur.ath.cx 2013-07-09 09:05:22 PDT ---
The implementation should probably go into std.bitmanip or core.bitop.
What's the pattern that DMD recognizes for rotate instructions?
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=10582
Summary: Programmed and Compiler generated symbols clash.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=7013
--- Comment #2 from bearophile_h...@eml.cc 2013-07-09 09:57:35 PDT ---
(In reply to comment #1)
In latest git HEAD, the following works:
import std.bigint;
void main() {
BigInt x = 123;
BigInt y = 321;
x += y;
http://d.puremagic.com/issues/show_bug.cgi?id=7012
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7013
--- Comment #4 from hst...@quickfur.ath.cx 2013-07-09 10:07:34 PDT ---
You're right, I looked at the code for BigInt, every time you do +=, it
allocates a new underlying buffer. That's pretty inefficient if you're using
these operations in an
http://d.puremagic.com/issues/show_bug.cgi?id=7013
--- Comment #3 from bearophile_h...@eml.cc 2013-07-09 09:58:59 PDT ---
(In reply to comment #2)
When you perform x+=y; the data inside x probably doesn't change.
I meant the original x.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=10581
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6829
--- Comment #2 from bearophile_h...@eml.cc 2013-07-09 10:13:38 PDT ---
(In reply to comment #1)
What's the pattern that DMD recognizes for rotate instructions?
Walter offers this example of recognizable rotation:
void test236() {
uint
http://d.puremagic.com/issues/show_bug.cgi?id=7013
--- Comment #5 from bearophile_h...@eml.cc 2013-07-09 10:24:39 PDT ---
(In reply to comment #4)
You're right, I looked at the code for BigInt, every time you do +=, it
allocates a new underlying buffer. That's pretty inefficient if you're
http://d.puremagic.com/issues/show_bug.cgi?id=10583
Summary: DMD 2.063 dumps core with mixins involving
__traits(getProtection, ..
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=8441
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10550
Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed:
What|Removed |Added
Status|NEW
http://d.puremagic.com/issues/show_bug.cgi?id=10585
Summary: Structs in unittest / functions shouldn't have frame
pointer unless necessary
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=10584
Summary: Unhelpful error default constructing nested class
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=10586
Summary: DMD unable to interpret cascaded template calls at
compile time
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=10587
Summary: __traits(getAttributes) doesn't work on incomplete
templated types
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=9455
Kevin L kevin.lamo...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10577
hst...@quickfur.ath.cx changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #12 from jfanati...@gmx.at 2013-07-09 11:57:15 PDT ---
I've tried them both with the current state of Pull 1660, but compilation
fails
due to those mixin conflicts. Can you verify this?
HEAD definitely won't work at all. The
http://d.puremagic.com/issues/show_bug.cgi?id=6829
--- Comment #3 from hst...@quickfur.ath.cx 2013-07-09 12:06:57 PDT ---
Hmph. That doesn't work. Compiling without -O just makes DMD translate it
literally into shl/shr followed by or. Compiling with -O computes the values
via CTFE, so I changed
http://d.puremagic.com/issues/show_bug.cgi?id=10551
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10552
--- Comment #5 from Walter Bright bugzi...@digitalmars.com 2013-07-09
12:20:51 PDT ---
Language changes are enhancements, not bug fixes.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving
http://d.puremagic.com/issues/show_bug.cgi?id=6829
--- Comment #4 from hst...@quickfur.ath.cx 2013-07-09 12:20:16 PDT ---
In fact, not even gdc -O3 recognizes this pattern.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail
http://d.puremagic.com/issues/show_bug.cgi?id=10552
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10491
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10588
Summary: Typeinfo.compare uses bitwise comparison for structs
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=10589
Summary: GC.malloc(sz, GC.BlkAttr.APPENDABLE) fails after a
certain size
Product: D
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #13 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-09
15:29:03 PDT ---
(In reply to comment #12)
I've tried them both with the current state of Pull 1660, but compilation
fails
due to those mixin conflicts. Can you
http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #14 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-09
15:29:34 PDT ---
(In reply to comment #13)
Issue 5028.
Link: http://d.puremagic.com/issues/show_bug.cgi?id=5028
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=10590
Summary: multiple definitions incorrectly allowed
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=10591
Summary: Error: only one main allowed doesn't show location of
conflicting main symbols
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=10591
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4841
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #18
http://d.puremagic.com/issues/show_bug.cgi?id=10590
Maxim Fomin ma...@maxim-fomin.ru changed:
What|Removed |Added
CC||ma...@maxim-fomin.ru
http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #15 from jfanati...@gmx.at 2013-07-09 22:43:28 PDT ---
Btw why are you using mixin templates instead of a struct? I know the current
std.signals uses it, but it's broken because people keep running into Issue
5028.
Instead is
101 - 175 of 175 matches
Mail list logo