On 2012-03-12 13:56:15 +, bearophile said:
It's not a bug, char is meant to be a UTF-8.
Right.
Two workarounds:
Thanks. I'm doing the sorting in a template, so this won't work -- but
I guess I just can't use char as a type parameter to my template
either, then :)
--
Magnus Lie
On Mon, Mar 12, 2012 at 01:54:08PM +0100, Magnus Lie Hetland wrote:
On 2012-03-11 21:14:59 +, Jonathan M Davis said:
So, as far as Phobos' unit tests are concerned, there's not
really any need for what you're trying to do.
Sure. Just would have thought that maybe some unit-testing D
In a template class (with State and Input as template parameters), I
have the following (private) member:
State[][Tuple!(const(State), const(Input))] transitions;
It works well enough, but for some reason I can't access its length
attribute...? (If I define other simpler, similar private
Magnus Lie Hetland:
Am I doing something illegal?-)
It looks legal. As usual I suggest to minimize the code, and show
us the reduced case that shows the problem :-)
Bye,
bearophile
On Monday, March 12, 2012 16:04:37 Magnus Lie Hetland wrote:
On 2012-03-12 13:09:18 +, Dmitry Olshansky said:
Mm it should perform sort on UTF-8 buffer?
Humm -- dunno ;) The UTF-8-semantics of single characters sort of
slipped my mind :)
Tricky thing but worths an enhancement
On Monday, March 12, 2012 09:40:44 Jacob Carlborg wrote:
On 2012-03-11 22:12, Jonathan M Davis wrote:
On Sunday, March 11, 2012 13:13:58 Jacob Carlborg wrote:
Yeah, exactly. And it feels a bit stupid to duplicate the assert
statement just to throw something that isn't an AssertError.
On 03/12/2012 08:59 AM, bearophile wrote:
Magnus Lie Hetland:
Am I doing something illegal?-)
It looks legal. As usual I suggest to minimize the code, and show
us the reduced case that shows the problem :-)
Bye,
bearophile
Let's please also see the exact error message. an error message
On 03/12/2012 08:06 AM, Magnus Lie Hetland wrote:
On 2012-03-12 13:56:15 +, bearophile said:
It's not a bug, char is meant to be a UTF-8.
Right.
Two workarounds:
Thanks. I'm doing the sorting in a template, so this won't work -- but I
guess I just can't use char as a type parameter
On 3/12/12, Ali Çehreli acehr...@yahoo.com wrote:
Let's please also see the exact error message. an error message that
seems to indicate that DMD is looking for a global identifier is not
clear to mortals like myself. :)
He probably means something like this:
struct State { }
struct Input { }
On 2012-03-12 15:08, Steven Schveighoffer wrote:
My thoughts on assert/unit test:
1. AssertError (and any other Error) should not be caught by normal user
code. Ever. It should only be caught by the runtime. However, the
handler in the runtime could provide a hook specific to the
OS/application
On Mon, 12 Mar 2012 19:20:07 +0100, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
On 3/12/12, Ali Çehreli acehr...@yahoo.com wrote:
Let's please also see the exact error message. an error message that
seems to indicate that DMD is looking for a global identifier is not
clear to mortals
http://d.puremagic.com/issues/show_bug.cgi?id=4507
--- Comment #2 from github-bugzi...@puremagic.com 2012-03-12 00:40:47 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=4507
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=5879
--- Comment #3 from github-bugzi...@puremagic.com 2012-03-12 01:02:48 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=1750
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6290
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7679
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1772
--- Comment #4 from Dmitry Olshansky dmitry.o...@gmail.com 2012-03-12
03:28:16 PDT ---
https://github.com/D-Programming-Language/phobos/pull/491
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=4250
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
CC|
Hi all!
Sorry, my english is poor, so the compiler output and the source
code will talk instead of me :)
I have DMD v2.057
code
d:\D\dmd2\windows\bin\dmd.exe -c installer\functions.d
-ofD:\D\projects\ikonboard\ikonboarD\obj\Debug\functions.obj
-Id:\D\dmd2\src\phobos
http://d.puremagic.com/issues/show_bug.cgi?id=5668
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4287
--- Comment #3 from bearophile_h...@eml.cc 2012-03-12 05:37:11 PDT ---
See a discussion thread here, where I have suggested to give Appenhder both
put method and a ~= operator:
http://d.puremagic.com/issues/show_bug.cgi?id=7630
d...@dawgfoto.de changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=3820
d...@dawgfoto.de changed:
What|Removed |Added
CC||d...@dawgfoto.de
--- Comment #4
http://d.puremagic.com/issues/show_bug.cgi?id=3820
--- Comment #5 from d...@dawgfoto.de 2012-03-12 07:37:28 PDT ---
You can only execute that block with a goto or a loop.
The initialization should happen anyhow.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=7693
Summary: Getopt Ignores Trailing Characters on Enums
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=6106
josvanu...@gmail.com changed:
What|Removed |Added
Priority|P2 |P5
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=7694
Summary: Internal error: e2ir.c 1251 when calling member
function inside struct via alias param
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
On Monday, 12 March 2012 at 10:58:25 UTC, Sharp wrote:
Hi all!
Sorry, my english is poor, so the compiler output and the
source code will talk instead of me :)
I have DMD v2.057
In the db.d, if I remove the PreparedStatement's destructor, it
compiles.
Here's the source code:
http://d.puremagic.com/issues/show_bug.cgi?id=7509
--- Comment #2 from junk.nebs...@gmail.com 2012-03-12 18:33:42 PDT ---
How should something like this be done then on other architectures?
I'm creating a matrix multiplication library and I tried using a value like
this and it didn't work.
I
http://d.puremagic.com/issues/show_bug.cgi?id=7695
Summary: ICE on associative array with keys of struct type with
const members
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=3509
--- Comment #1 from github-bugzi...@puremagic.com 2012-03-12 19:28:22 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=3509
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3509
--- Comment #2 from github-bugzi...@puremagic.com 2012-03-12 19:28:40 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=3510
--- Comment #1 from github-bugzi...@puremagic.com 2012-03-12 20:02:19 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=3510
--- Comment #2 from github-bugzi...@puremagic.com 2012-03-12 20:02:40 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=3510
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4504
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6426
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7696
Summary: The Array container works improperly when using as a
property
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
Severity:
201 - 240 of 240 matches
Mail list logo