While coding, I've stumbled upon this weird bug.
Apparently, this code snippet right here:
module program;
import std.stdio;
class Foo {
void bar() {
writeln( "Foo Bar!" );
}
}
void main() {
http://d.puremagic.com/issues/show_bug.cgi?id=6318
--- Comment #2 from Trass3r 2011-07-15 05:00:51 PDT ---
And for completeness the Msg generation from basic.Messages:
private immutable records =
[
["bla","blub"],
];
mixin (generateMsgEnum());
private string generateMsgEnum()
{
On Fri, 15 Jul 2011 12:32:05 +0200, BizarreCake
wrote:
While coding, I've stumbled upon this weird bug.
Apparently, this code snippet right here:
module program;
import std.stdio;
class Foo {
void bar() {
writeln( "Foo Bar!" )
http://d.puremagic.com/issues/show_bug.cgi?id=6318
--- Comment #3 from Trass3r 2011-07-15 05:11:03 PDT ---
If this has to do with dmd exiting early because of errors, why is there no
"fatal error: too many errors occured"?
If it has to do with the cyclic import, why is Messages affected by tha
http://d.puremagic.com/issues/show_bug.cgi?id=6321
Trass3r changed:
What|Removed |Added
CC||mrmoc...@gmx.de
--- Comment #3 from Trass3r
http://d.puremagic.com/issues/show_bug.cgi?id=6296
Trass3r changed:
What|Removed |Added
CC||mrmoc...@gmx.de
--- Comment #1 from Trass3r
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #4 from ante...@freemail.hu 2011-07-15 05:39:44 PDT ---
(In reply to comment #3)
> This doesn't help much, if you don't even specify what exact source files
> you've used (I mean where you got them etc).
>
> Also a stacktrace would
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #5 from ante...@freemail.hu 2011-07-15 05:41:03 PDT ---
I know it does not ctfe.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #6 from Trass3r 2011-07-15 05:46:07 PDT ---
On Linux you would typically use GDB, but on Windows it's another question.
You could debug it with Visual Studio (or WinDbg maybe)
or use some other tool/code.
http://stackoverflow.com/qu
http://d.puremagic.com/issues/show_bug.cgi?id=6014
--- Comment #10 from Steven Schveighoffer 2011-07-15
05:49:10 PDT ---
So here is what I can learn from this information:
1. The crash is happening on the final collection cycle when the runtime is
shutting down.
2. The memory block (pointer v
http://d.puremagic.com/issues/show_bug.cgi?id=6321
Dmitry Olshansky changed:
What|Removed |Added
CC||dmitry.o...@gmail.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #8 from ante...@freemail.hu 2011-07-15 06:38:06 PDT ---
running with -v
function toString
function toString
function fill
function clear
code DFA
function predict
function noViableAlt
function error
function special
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #9 from Dmitry Olshansky 2011-07-15
06:43:49 PDT ---
Now that's something.. but I'm not the one to ask about these logs really.
To check if it's linker try:
dmd -c <...>
that should skip the linking stage and get you a huge obje
http://d.puremagic.com/issues/show_bug.cgi?id=6296
Felix Hufnagel changed:
What|Removed |Added
CC||suicide...@xited.de
Version
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #3 from Trass3r 2011-07-15 07:11:15 PDT ---
(In reply to comment #2)
What about Denis' test case?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #4 from Denis 2011-07-15 07:24:06 PDT
---
(In reply to comment #3)
> (In reply to comment #2)
>
> What about Denis' test case?
If works with dmd 2.054. And I originally marked this issue as D1 only.
--
Configure issuemail: http
http://d.puremagic.com/issues/show_bug.cgi?id=6322
Summary: IFTI doesn't support static arrays
Product: D
Version: D1 & D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Compo
http://d.puremagic.com/issues/show_bug.cgi?id=6322
yebblies changed:
What|Removed |Added
Keywords||rejects-valid
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #5 from Trass3r 2011-07-15 07:39:34 PDT ---
Zoadian, your test case is incomplete.
Error: undefined identifier Modifier
Also could you try reducing it with DustMite?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #6 from Zoadian 2011-07-15 07:45:55 PDT ---
Reduced source code: http://pastebin.com/p3K8CMXF
never worked with dustmite, and no time to get into it now. sry.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab
http://d.puremagic.com/issues/show_bug.cgi?id=6322
--- Comment #2 from Denis 2011-07-15 07:47:46 PDT
---
Another workaround is D2 constraints (more powerful and less buggly):
import std.traits;
void f(Tn)(Tn t) if(isStaticArray!Tn) { }
--
Configure issuemail: http://d.puremagic.com/issues/u
http://d.puremagic.com/issues/show_bug.cgi?id=6323
Summary: Regression(2.054) calling opAssign inside a struct
initializer
Product: D
Version: D2
Platform: x86
OS/Version: All
Status: NEW
Severity: regress
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #7 from Denis 2011-07-15 07:56:29 PDT
---
And where are the guys:
import util.math;
import util.array;
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #8 from Zoadian 2011-07-15 08:01:30 PDT ---
they are not needed, sry, forgot to remove them. : http://pastebin.com/e7HazwDF
math.d is empty; this is array.d http://pastebin.com/guBWs4h6
--
Configure issuemail: http://d.puremagic.c
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #9 from Trass3r 2011-07-15 08:06:25 PDT ---
My dmd yields
bug6296b.d(16): Error: cannot implicitly convert expression (this) of type
ModifiableInt to typeof(this)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #10 from Denis 2011-07-15 08:20:32
PDT ---
I'll DustMite it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6323
kenn...@gmail.com changed:
What|Removed |Added
CC||kenn...@gmail.com
--- Comment #1 fr
http://d.puremagic.com/issues/show_bug.cgi?id=6321
--- Comment #10 from ante...@freemail.hu 2011-07-15 09:48:11 PDT ---
Hi,
figured out..
It was caused by
ofD:\m\antlr\backendd\plsqlparser.exe
Can you see - is missing there?
That caused the error.
--
Configure issuemail: http://d.puremag
http://d.puremagic.com/issues/show_bug.cgi?id=6324
Summary: ICE: .values field of enum hash errors out
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: blocker
Priority: P2
C
http://d.puremagic.com/issues/show_bug.cgi?id=6324
--- Comment #1 from Andrej Mitrovic 2011-07-15
10:15:41 PDT ---
Are hashes *ever* going to work at compile-time?
int[string] foo = ["foo":221, "bar":227];
Error: non-constant expression ["foo":221,"bar":227]
--
Configure issuemail: http://
http://d.puremagic.com/issues/show_bug.cgi?id=6325
Summary: Assertion failure: '0' on line 1123 in file 'glue.c'
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #11 from Denis 2011-07-15 10:24:47
PDT ---
After DustMite-ing all phobos std.* sources: Issue6296
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6308
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=6296
--- Comment #12 from Denis 2011-07-15 10:25:52
PDT ---
After DustMite-ing all phobos std.* sources: Issue6325
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6326
Summary: [CTFE] ICE on cross-module call of function checking
CTFE-ability of function with invalid switch statement
Product: D
Version: D2
Platform: Other
OS/Version: Linux
http://d.puremagic.com/issues/show_bug.cgi?id=6325
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
--- Comm
http://d.puremagic.com/issues/show_bug.cgi?id=6325
--- Comment #2 from Denis 2011-07-15 10:54:26 PDT
---
(In reply to comment #1)
> One note: the main() is unnecessary for me.
For me it isn't unnecessary to call it "main". It can be "g", but it must
contain this body.
--
Configure issuemai
http://d.puremagic.com/issues/show_bug.cgi?id=6325
--- Comment #3 from Vladimir Panteleev 2011-07-15
10:55:43 PDT ---
Sorry, main() is unnecessary if I compile with -g.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=6325
--- Comment #4 from Denis 2011-07-15 10:57:57 PDT
---
Corrected version of my previous comment:
For me it isn't necessary to call it "main" (if compiling without -g). It can
be "f" or "g", but it must contain "S.f();" in it's body.
--
Confi
http://d.puremagic.com/issues/show_bug.cgi?id=6317
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6327
--- Comment #1 from ante...@freemail.hu 2011-07-15 12:52:04 PDT ---
It happens only if I use -g switch
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=6327
Summary: Internal error: ..\ztc\cgcv.c 206
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: D
http://d.puremagic.com/issues/show_bug.cgi?id=6327
--- Comment #2 from ante...@freemail.hu 2011-07-15 13:08:37 PDT ---
Created an attachment (id=1007)
It shows the stack in the bottom right corner.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are re
http://d.puremagic.com/issues/show_bug.cgi?id=6327
--- Comment #3 from ante...@freemail.hu 2011-07-15 13:41:23 PDT ---
Created an attachment (id=1008)
trace file of execution until failure
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving t
http://d.puremagic.com/issues/show_bug.cgi?id=6328
Summary: Functions using lazy argument cannot be inferred as
@safe
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=6325
Trass3r changed:
What|Removed |Added
CC||mrmoc...@gmx.de
--- Comment #5 from Trass3r
http://d.puremagic.com/issues/show_bug.cgi?id=6316
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6329
Summary: Out of range exceptions not thrown in certain cases
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P
http://d.puremagic.com/issues/show_bug.cgi?id=6097
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6330
Summary: Cannot disable assignment to a struct.
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: accepts-invalid
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=6308
--- Comment #2 from Vladimir Panteleev 2011-07-15
21:48:28 PDT ---
Minimized testcase:
struct C
{
this(int)
{
throw new Exception("Oops!");
}
~this()
{
}
int bar() { return 1; }
}
void foo(int) {}
void
http://d.puremagic.com/issues/show_bug.cgi?id=6331
Summary: [CTFE] Cannot evaluate SliceExp on if condition
Product: D
Version: D2
Platform: x86_64
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: n
http://d.puremagic.com/issues/show_bug.cgi?id=6064
--- Comment #1 from Jonathan M Davis 2011-07-15 23:28:30
PDT ---
https://github.com/D-Programming-Language/phobos/pull/146
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail beca
53 matches
Mail list logo