[Issue 13223] New: Cannot deduce argument for array template parameters

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13223 Issue ID: 13223 Summary: Cannot deduce argument for array template parameters Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

[Issue 13223] Cannot deduce argument for array template parameters

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13223 --- Comment #1 from Dragos Carp --- T foo(T)(T a1, T a2) { return a1 ~ a2; } void main() { int[] a = [1, 2]; assert(foo(a, []) == [1, 2]); } This code (non array template types) works with 2.066.0-b6 and generates the previous described

[Issue 13221] [ICE] '0' on line 318 in file 'interpret.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13221 Kenji Hara changed: What|Removed |Added Keywords||ice Severity|major

[Issue 13221] [ICE] '0' on line 318 in file 'interpret.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13221 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #2 from Kenji Hara --- https:

[Issue 12503] Bad optimization with scope(success) and return statement

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12503 yebblies changed: What|Removed |Added Keywords||pull CC|

[Issue 13223] Cannot deduce argument for array template parameters

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13223 Kenji Hara changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #2 from Kenji H

[Issue 12806] Does std.traits.isArray include associative arrays?

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12806 Peter Alexander changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 --- Comment #8 from Kenji Hara --- (In reply to Walter Bright from comment #4) > This is not a compiler bug. It has nothing to do with 314. > > The problem is that 'strip' is defined in both std.string and std.algorithm. But their signatures don't

[Issue 13212] Windows line endings handled incorrectly by ddoc macros

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13212 Nick Treleaven changed: What|Removed |Added Keywords||pull URL|

[Issue 13224] New: Error: first argument is not a symbol

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13224 Issue ID: 13224 Summary: Error: first argument is not a symbol Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority:

[Issue 13224] Error: first argument is not a symbol

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13224 --- Comment #1 from Kenji Hara --- In 2.066, uniform constructor syntax T() is supported for all scalar type T. auto n = int(); auto x = float(3.14); alias P = void*; auto p = P(&n); By the feature, the line static if (__traits(compiles, mi

[Issue 10966] Optimizer generates wrong code with try-catch

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10966 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Version|D2

[Issue 12438] Wrong code for result of assignment to `ref`/`out` struct parameter

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12438 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13202] Don't allow silent shadowing of type properties

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13202 davi...@fb.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7066] You can redefine .init and .stringof without error

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7066 davi...@fb.com changed: What|Removed |Added CC||davi...@fb.com --- Comment #4 from davi...@fb

[Issue 7066] You can redefine .init and .stringof without error

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7066 --- Comment #5 from davi...@fb.com --- I would like to see this disable or if we don't want to break backwards compatibility for this, we should have the compiler issue a warning. As it stands at the moment, the behavior causes more harm then good. --

[Issue 7942] Appending different string types corrupts memory

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7942 yebblies changed: What|Removed |Added Summary|Appending a string to a |Appending different string |dstr

[Issue 7942] Appending different string types corrupts memory

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7942 yebblies changed: What|Removed |Added Keywords||pull Assignee|nob...@puremagic.com

[Issue 9465] Wrong code for delegate call

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9465 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 12926] backend/cgcs.c 351

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12926 yebblies changed: What|Removed |Added Keywords|wrong-code |ice CC|

[Issue 12926] backend/cgcs.c 351

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12926 yebblies changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 11763] [ICE] Internal error: ../ztc/cgcs.c 351

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11763 yebblies changed: What|Removed |Added CC||vlevenf...@gmail.com --- Comment #3 from yebblies

[Issue 11763] [ICE] Internal error: ../ztc/cgcs.c 351

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11763 yebblies changed: What|Removed |Added Keywords|ice-on-valid-code | CC||

[Issue 11763] [ICE] Internal error: ../ztc/cgcs.c 351

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11763 yebblies changed: What|Removed |Added Keywords||pull Assignee|nob...@puremagic.com

[Issue 7337] subclasses without invariants don't check basisclass invariant after method

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7337 --- Comment #3 from yebblies --- (In reply to Adrien Pensart from comment #2) > (In reply to yebblies from comment #1) > > This is currently disabled in FuncDeclaration::addPostInvariant, and > > enabling it causes a lot of error bugs in druntime and

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 yebblies changed: What|Removed |Added Keywords|preapproved | CC||y

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #6 from Andrei Alexandrescu --- @yebblies: why did you remove the "preapproved" tag? --

[Issue 13221] [ICE] '0' on line 318 in file 'interpret.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13221 --- Comment #3 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/b16f80834e4f9fa9bd62320f132f77fb22fc65b6 fix Issue 13221 - [ICE] '0'

[Issue 12668] std.traits.functionAttributes should use the new getFunctionAttributes trait

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12668 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/7a976513b944ddc8cfd30949bdfb1cb0a10a484f Fix Issue 12668 - std

[Issue 12668] std.traits.functionAttributes should use the new getFunctionAttributes trait

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12668 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 7337] subclasses without invariants don't check basisclass invariant after method

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7337 --- Comment #4 from Adrien Pensart --- I retried to fix this some month ago in days, but i'm not comfortable at all with dmd internals and i didn't succeed... it could take weeks for me to resolve this... i started writing a testcase into runnable/t

[Issue 879] support for --gc-sections

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=879 JR changed: What|Removed |Added CC||zor...@gmail.com --

[Issue 7337] subclasses without invariants don't check basisclass invariant after method

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7337 --- Comment #5 from Adrien Pensart --- diff --git a/src/func.c b/src/func.c index 93ca8fd..395cb51 100644 --- a/src/func.c +++ b/src/func.c @@ -3933,7 +3933,7 @@ bool FuncDeclaration::addPostInvariant() AggregateDeclaration *ad = isThis(); C

[Issue 4831] Optlink rejects paths with invalid characters based on HPFS filesystem instead of NTFS

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4831 Jonathan Marler changed: What|Removed |Added CC||johnnymar...@gmail.com --

[Issue 2249] DMD can't handle include paths with spaces in them

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2249 Jonathan Marler changed: What|Removed |Added CC||johnnymar...@gmail.com --

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 --- Comment #9 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/f1130bf5762a21697708a3fe94eb291cdf4c3074 fix Issue 12242 - conflict e

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #10 from Martin Nowa

[Issue 8387] Semantic errors in opDispatch body are not reported

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8387 Vlad Levenfeld changed: What|Removed |Added CC||vlevenf...@gmail.com --

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 --- Comment #11 from hst...@quickfur.ath.cx --- Issue #7327 appears to have been fixed by https://github.com/D-Programming-Language/dmd/pull/3388. Tested on Linux/64bit, on git HEAD. --

[Issue 7327] Nested overload sets are not resolved correctly

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7327 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment #2

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 --- Comment #12 from Martin Nowak --- I don't like the term cross module overload set, because an overload sets is a set of overloads from different modules (or mixin templates) by definition. The bug resolution to flatten all nested overload sets in

[Issue 7327] Nested overload sets are not resolved correctly

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7327 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 12242] conflict error with public imports

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12242 --- Comment #13 from Martin Nowak --- *** Issue 7327 has been marked as a duplicate of this issue. *** --

[Issue 13210] libphobos2.so not being built

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13210 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||pull CC|

[Issue 13210] libphobos2.so not being built

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13210 --- Comment #3 from hst...@quickfur.ath.cx --- Pull has been merged, please retest and resolve if fixed. --

[Issue 8387] Semantic errors in opDispatch body are not reported

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8387 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13220] [ICE] 'global.gaggedErrors || global.errors' on line 750 in file 'statement.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13220 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||ice CC|

[Issue 13178] Duplicate symbol of compiler generated symbols

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13178 Andrew Edwards changed: What|Removed |Added CC||edwards...@gmail.com --- Comment #7 from An

[Issue 13203] conflicting aliases allowed with static if

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13203 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13217] nothrow, template function and delegate: compilation error

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13217 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13220] [ICE] 'global.gaggedErrors || global.errors' on line 750 in file 'statement.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13220 Kenji Hara changed: What|Removed |Added Keywords||pull Severity|critical

[Issue 13201] Wrong "Warning: statement is not reachable" error with -w

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13201 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13210] libphobos2.so not being built

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13210 Andrew Edwards changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7570] Missing error in ctfe for dereferencing a pointer passed as a parameter

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7570 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 7596] traits compiles can't detect non-copyable errors

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7596 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7553] auto template param triggers mixin conflict

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7553 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7558] Useless 'cannot implicitly convert' errors when number of function arguments is wrong

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7558 hst...@quickfur.ath.cx changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7624] std.typecons.Tuple slicing

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7624 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13220] [ICE] 'global.gaggedErrors || global.errors' on line 750 in file 'statement.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13220 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 13220] [ICE] 'global.gaggedErrors || global.errors' on line 750 in file 'statement.c'

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13220 --- 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/7449b81fbe606d858ff4649a0516049cac1e887b fix Issue 13220 - [ICE] 'glo

[Issue 11453] Compiling packages has a dependency on order of modules passed to the compiler.

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11453 Kenji Hara changed: What|Removed |Added Keywords||diagnostic, pull --- Comment #2 from Kenji Hara

[Issue 8269] The 'with statement' does not observe temporary object lifetime

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8269 --- Comment #7 from yebblies --- (In reply to Andrei Alexandrescu from comment #6) > @yebblies: why did you remove the "preapproved" tag? I don't see the point of it on a wrong code bug. Either the bug is valid and it will be fixed, or it isn't and

[Issue 12438] Wrong code for result of assignment to `ref`/`out` struct parameter

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12438 --- Comment #2 from Denis Shelomovskij --- It was a critical issue. In what exact commit it was fixed and is it really fixed or this test-case just accidentally works? Anyway the test must be added to autotester. --

[Issue 12438] Wrong code for result of assignment to `ref`/`out` struct parameter

2014-07-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12438 --- Comment #3 from yebblies --- (In reply to Denis Shelomovskij from comment #2) > It was a critical issue. In what exact commit it was fixed and is it really > fixed or this test-case just accidentally works? Anyway the test must be > added to auto