[Issue 12189] "out" parameters should be allowed to modify immutable values in ctors

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12189 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- C

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 Kenji Hara changed: What|Removed |Added Keywords||pull Severity|normal

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #3 from yebblies 2014-02-19 21:07:20 EST --- (In reply to comment #2) > (In reply to comment #1) > > Sigh, the backend sees > > > > int[1] i = 0; > > int[1] j = 0; > > bool b = true; > > (b ? i : j)[] = [4]; > > assert(i == [4]);

[Issue 12201] Crash on forward reference import within mixed in template

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12201 Kenji Hara changed: What|Removed |Added Summary|Crash on bad import within |Crash on forward reference

[Issue 12201] Crash on forward reference import within mixed in template

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12201 Kenji Hara changed: What|Removed |Added Keywords||pull Severity|normal

[Issue 12197] 'invalid array operation' errror message with valid array operation

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12197 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Platform|x86

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #4 from Kenji Hara 2014-02-19 02:31:26 PST --- (In reply to comment #3) > Sure it is. If instead of converting `a = b` (where lhs is a static array) > into `a[] = b[]` the compiler left the lhs intact as a static array, then > co

[Issue 12167] GIT HEAD: AAs are broken

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12167 --- Comment #13 from yebblies 2014-02-19 21:35:04 EST --- (In reply to comment #12) > (In reply to comment #11) > > It works on AA literals, just not on const/immutable AAs, because it may > > modify > > data inside them. If it previously w

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #5 from yebblies 2014-02-19 21:38:16 EST --- (In reply to comment #4) > (In reply to comment #3) > > Sure it is. If instead of converting `a = b` (where lhs is a static array) > > into `a[] = b[]` the compiler left the lhs intact

[Issue 12202] New: SortedRange + alias this + foreach => Segmentation fault

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12202 Summary: SortedRange + alias this + foreach => Segmentation fault Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 12200] Strange crash while debugging in Win64

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12200 --- Comment #3 from Manu 2014-02-19 05:47:35 PST --- Mine looks identical to yours: ++depth; 07F7FEF0A64F FF 45 A0 inc dword ptr [depth] step[depth] = 24; 07F7FEF0A652 48 63 75 A0 movsxd rsi,dw

[Issue 11902] DMD debuginfo doesn't seem to write classes correctly

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11902 --- Comment #10 from Manu 2014-02-19 05:51:05 PST --- Is a solution for this going to make it into 2.065? This is the biggest problem with debugging DMD code at the moment. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cg

[Issue 2278] Guarantee alignment of stack-allocated variables on x86

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=2278 Temtaime changed: What|Removed |Added Severity|enhancement |regression --- Comment #12 from Temtaime

[Issue 12196] Bad error message for multiple declarations

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12196 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com

[Issue 6417] Wrong context for nested functions in virtual class member function contracts

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6417 Denis Shelomovskij changed: What|Removed |Added CC||verylonglogin@gmail.com

[Issue 11902] DMD debuginfo doesn't seem to write classes correctly

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11902 --- Comment #11 from Benjamin Thaut 2014-02-19 09:19:50 PST --- https://github.com/D-Programming-Language/dmd/pull/3189 I honestly don't think that my two pull requests will make it in time for 2.065, especially as 2.065 is already in the r

[Issue 11902] DMD debuginfo doesn't seem to write classes correctly

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11902 --- Comment #12 from Manu 2014-02-19 09:28:54 PST --- (In reply to comment #11) > https://github.com/D-Programming-Language/dmd/pull/3189 > > I honestly don't think that my two pull requests will make it in time for > 2.065, especially as 2.

[Issue 12203] typeof(null) does not convert to "void delegate(float)"

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12203 --- Comment #1 from Benjamin Thaut 2014-02-19 12:03:57 PST --- The error message is: Error: e2ir: cannot cast v of type typeof(null) to type void delegate(float) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=emai

[Issue 12203] New: typeof(null) does not convert to "void delegate(float)"

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12203 Summary: typeof(null) does not convert to "void delegate(float)" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 12204] New: using delegates as alias parameter to templated struct: cannot get frame pointer to sort

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12204 Summary: using delegates as alias parameter to templated struct: cannot get frame pointer to sort Product: D Version: D2 Platform: All OS/Version: All Status: NE

[Issue 12169] sum(int[]) should return a int

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12169 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- C

[Issue 8755] Change the order of reduce arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #9 from monarchdo...@gmail.com 2014-02-19 14:00:05 PST --- (In reply to comment #7) > Haskell has a function call flip for this. > http://hackage.haskell.org/package/base-4.6.0.1/docs/Prelude.html#v:flip > > It turns a function tak

[Issue 8755] Change the order of reduce arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #10 from Martin Nowak 2014-02-19 14:05:12 PST --- How about "fold" instead, that's the classical functional programming name for that. Also there is foldl and foldr in Haskell. -- Configure issuemail: https://d.puremagic.com/issu

[Issue 12205] New: Tools build process cannot find druntime and phobos

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12205 Summary: Tools build process cannot find druntime and phobos Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority:

[Issue 12200] Strange crash while debugging in Win64

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12200 --- Comment #4 from Rainer Schuetze 2014-02-19 14:25:58 PST --- (In reply to comment #3) > You are experiencing the crash too? No. Is it possible to reproduce it with the full function alone or does it need other stuff, too? I suspect that

[Issue 8755] Change the order of reduce arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #11 from monarchdo...@gmail.com 2014-02-19 14:53:47 PST --- (In reply to comment #10) > How about "fold" instead, that's the classical functional programming name for > that. Also there is foldl and foldr in Haskell. Took a quick l

[Issue 5007] @outer() attribute

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5007 --- Comment #5 from bearophile_h...@eml.cc 2014-02-19 15:07:18 PST --- It seems this idea of mine isn't so crazy. This is from the SPARK 2014 sublanguage: http://people.cs.kuleuven.be/~dirk.craeynest/ada-belgium/events/14/140201-fosdem/03-ada-

[Issue 12197] 'invalid array operation' errror message with valid array operation

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12197 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Co

[Issue 12205] Tools build process cannot find druntime and phobos

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12205 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1 from Mart

[Issue 12206] New: Can't "alias this" to a template instantiation

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12206 Summary: Can't "alias this" to a template instantiation Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 12201] Crash on forward reference import within mixed in template

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12201 --- Comment #3 from github-bugzi...@puremagic.com 2014-02-19 16:20:52 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b536fd67871716a3ad6dd03792be91a6c1e95

[Issue 12207] New: IFTI fails for static method of immutable type

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12207 Summary: IFTI fails for static method of immutable type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 12200] Strange crash while debugging in Win64

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12200 --- Comment #6 from Manu 2014-02-19 17:33:22 PST --- (In reply to comment #4) > (In reply to comment #3) > > You are experiencing the crash too? > > No. Is it possible to reproduce it with the full function alone or does it > need > other s

[Issue 12200] Strange crash while debugging in Win64

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12200 --- Comment #5 from Manu 2014-02-19 17:31:37 PST --- Created an attachment (id=1331) test project demonstrating the crash -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail bec

[Issue 12201] Crash on forward reference import within mixed in template

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12201 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 12207] IFTI fails for static method of immutable type

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12207 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from Kenji Hara 20

[Issue 12203] typeof(null) does not convert to "void delegate(float)"

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12203 Kenji Hara changed: What|Removed |Added Keywords||ice, pull --- Comment #2 from Kenji Har

[Issue 12209] New: Unable to take address of function nested function

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12209 Summary: Unable to take address of function nested function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 12208] New: Recognize identical scope of nested structs

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12208 Summary: Recognize identical scope of nested structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 12210] New: dlang.org home page example - Run button does not work

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12210 Summary: dlang.org home page example - Run button does not work Product: D Version: D2 Platform: All URL: http://dlang.org OS/Version: All Status: NEW Severi

[Issue 12207] IFTI fails for static method of immutable type

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12207 --- Comment #2 from github-bugzi...@puremagic.com 2014-02-19 21:47:06 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b0632afd3eaff4c961bc7075fb68d11d1db7c

[Issue 12207] IFTI fails for static method of immutable type

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12207 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 12166] Template Argument Pattern Matching Fails for Struct With Multiple Nested Template Arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12166 --- Comment #1 from Kenji Hara 2014-02-19 22:26:36 PST --- The test case lacks some symbols: test.d(7): Error: undefined identifier Three test.d(7): Error: undefined identifier Two test.d(7): Error: undefined identifier Four test.d(7): Error

[Issue 12131] Struct assign purity error

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12131 Kenji Hara changed: What|Removed |Added Keywords||pull Platform|x86

[Issue 9242] Add stack stomping code to flush out heisenbugs

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9242 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #11 from Mart

[Issue 12211] New: Assignment expression is not an lvalue

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12211 Summary: Assignment expression is not an lvalue Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 12212] New: Static array assignment makes slice implicitly

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12212 Summary: Static array assignment makes slice implicitly Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 12166] Template Argument Pattern Matching Fails for Struct With Multiple Nested Template Arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12166 --- Comment #2 from monkeywork...@hotmail.com 2014-02-19 23:18:39 PST --- (In reply to comment #1) > The test case lacks some symbols: > > test.d(7): Error: undefined identifier Three > test.d(7): Error: undefined identifier Two > test.d(7):

[Issue 1659] template alias parameters are chosen over all but exact matches.

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=1659 Kenji Hara changed: What|Removed |Added Keywords||pull Platform|x86

[Issue 12166] Template Argument Pattern Matching Fails for Struct With Multiple Nested Template Arguments

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12166 --- Comment #3 from Kenji Hara 2014-02-19 23:32:31 PST --- (In reply to comment #2) > Sorry, add: [snip] So, what version do you use? The full test case: struct Zero{} struct Succ(a) {} alias One = Succ!Zero; alias Two = Succ!One;

[Issue 11984] not using opAssign when declaration in different scope

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11984 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|