[Issue 14765] [Reg2.068.0] Rangified functions no longer accept types that implicitly cast to string

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14765

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/31c963070245c2c89ae287283f49fc77425c45df
add std.traits.isAutodecodableString() to fix Issue 14765

https://github.com/D-Programming-Language/phobos/commit/39806a85f5cd0f3280519277a5943e3485abd797
Merge pull request #3512 from MartinNowak/fix14765

add std.traits.isAutodecodableString() to fix Issue 14765

--


[Issue 14765] [Reg2.068.0] Rangified functions no longer accept types that implicitly cast to string

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14765

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 14822] New: DMD crash with CTFE range code (v2.067.1)

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14822

  Issue ID: 14822
   Summary: DMD crash with CTFE range code (v2.067.1)
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: initrd...@gmail.com

Created attachment 1531
  -- https://issues.dlang.org/attachment.cgi?id=1531action=edit
reduced source code

I've reduced this code with DustMite and attached it to the issue.

Compile using `dmd -main -unittest sqlite3.d`

Output:

 dmd -main -unittest sqlite3.d
MapResult(Result(0LU, 0LU))
dmd: struct.c:929: virtual void StructDeclaration::semantic(Scope*): Assertion
`type-ty != Tstruct || ((TypeStruct *)type)-sym == this' failed.
fish: “dmd -main -unittest sqlite3.d” terminated by signal SIGABRT (Abort)

--


[Issue 14731] [REG2.068a] Error location insufficient when CTFE

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14731

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f491e5604009e40ad96cc7ecad6979975776a200
Merge pull request #4771 from 9rnsr/fix14731

--


[Issue 13720] [REG2.067] Adding trivial destructor to std.datetime causes Internal error: ..\ztc\cgelem.c 2418

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13720

--- Comment #8 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/742f467c137c8dc6e42d0a4d0863d5bc6b0f
Merge pull request #4759 from 9rnsr/fix13720

--


[Issue 14430] [REG2.060] Null parameter is detected as non-null.

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14430

--- Comment #13 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d6a13be63392ea2d6c2eac369a8b6e2c42b2492b
Merge pull request #4775 from WalterBright/fix14430

--


[Issue 14682] [REG2.037] Incorrect interpretation of ~ []

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14682

--- Comment #16 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e23ff7c0e4f9de3f4dd6352e261ee430466d7ddb
Merge pull request #4742 from 9rnsr/fix14682

--


[Issue 14510] Bad tail call optimization with static arrays

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14510

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/86757a2f4efc5562d8621207676d2a187e91b33a
Merge pull request #4778 from WalterBright/fix14510

--


[Issue 14626] [REG2.066] byValue doesn't work with inout AA

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14626

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/6d57c68df1f72e9416548ad450e56a16bb1fdb90
fix Issue 14626 - byValue doesn't work with inout AA

https://github.com/D-Programming-Language/druntime/commit/ad900eb3cc38397c4fa3a0a805793f002d03abc7
Merge pull request #1326 from 9rnsr/fix14626

--


[Issue 14822] DMD crash with CTFE range code (v2.067.1)

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14822

Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Kenji Hara k.hara...@gmail.com ---
The issue does not happen with 2.068-beta1..

I guess the root issue had had a problem in error handling for the template
instantiation. I think it has been fixed by:

https://github.com/D-Programming-Language/dmd/pull/4464

--


[Issue 14806] [REG2.063] alias this doesn't force elaborate equality, but is followed during it

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14806

--- 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/83fa6accb7b83f3a88898a675933319073e3497e
fix Issue 14806 - alias this doesn't force elaborate equality, but is followed
during it

https://github.com/D-Programming-Language/dmd/commit/9318101daf48fb24b335cb6177c509bfec390586
Merge pull request #4820 from 9rnsr/fix14806

--


[Issue 14753] pragma(inline) hides the alias string

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14753

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/cbab6d6303783a22ee65a5a1e777a50d038133fa
Merge pull request #4793 from 9rnsr/fix14753

--


[Issue 14737] [REG2.058] A concatenation of array literal and static array should make dynamic array

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14737

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d68e8d61ccabd1ae7c2252b86cda56e13adef1c4
Merge pull request #4776 from 9rnsr/fix14737

--


[Issue 14572] cannot build dmd from source anymore: 'g++ -m64: No such file or directory'

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14572

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/65ce308abc30e0f31fa118326840da14043adf5f
Merge pull request #4772 from JinShil/fix14572

--


[Issue 14735] [REG2.068-b1] std.string.indexOf cannot deduce function for char argument

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14735

--- Comment #15 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/c2b84a0b24f680bfa3cd336af6c84b0ded2c4594
Merge pull request #4779 from 9rnsr/fix14735

--


[Issue 14699] [REG2.062] ICE: segfaults on array with zero size

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14699

--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/72f759961d08ed9a4e0da2e1d81608fed9a0d7b6
Merge pull request #4744 from 9rnsr/fix14699

--


[Issue 14805] [REG2.064] Unreasonably slow new Struct[large]

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14805

--- Comment #7 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/27dc11712eb4ddd4d45033654f7d8cb93d7745d4
fix Issue 14805 - Unreasonably slow new Struct[large]

https://github.com/D-Programming-Language/dmd/commit/35d35f1cf7c5e386f3c9c2f5ca76fc4f12f174e0
Merge pull request #4821 from 9rnsr/fix14805

--


[Issue 14754] [REG2.068b1] 64bit wrong code with -inline

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/22e27f5d84dc39d005106303986d91525e2834bf
Merge pull request #4795 from 9rnsr/fix14754

--


[Issue 14820] Templates not reevaluated inside static loop unrolling

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14820

--- Comment #3 from Mathias LANG pro.mathias.l...@gmail.com ---
(In reply to simendsjo from comment #2)
 (In reply to Mathias LANG from comment #1)
  I think that's a duplicate of https://issues.dlang.org/show_bug.cgi?id=9748
 
 Yes, looks very similar (although on dynamic values rather than compile-time
 values). C# had a very similar issue in version 3, but it has since been
 changed to capture the current loop variable rather than the symbol that is
 reused. A breaking change, but even C#, which is very reluctant to change
 (more so than D), did it.
 
 I notice that issue was filed over two years ago. What is the reason for not
 fixing this? Avoiding breaking change (I consider it a bug though, and so
 did the C# team)? Or just the lack of manpower?

Lack of manpower AND complexity of the issue (static foreach is an hack ATM).

--


[Issue 14296] RDMD fails at building a lib when the source is in a subdir

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14296

--- Comment #7 from Walter Bright bugzi...@digitalmars.com ---
(In reply to Vladimir Panteleev from comment #6)
 (In reply to Walter Bright from comment #5)
  A better solution for now is to have rdmd not use both -od and -of.
 
 That would mean to either put the intermediary object files in the current
 directory or to put the .lib file in a temporary directory. Again it would
 mean special logic in rdmd depending on whether -lib is supplied to work
 around the DMD bug.

dmd is not going to change the behavior of -od or -of. Their behavior is
confusing enough - breaking peoples' makefiles will make things even worse.
Best case is adding a new switch with the desired behavior.

rdmd can work by using fully qualified output file names.

--


[Issue 14296] RDMD fails at building a lib when the source is in a subdir

2015-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14296

--- Comment #8 from Walter Bright bugzi...@digitalmars.com ---
BTW, every file name generation algorithm in DMD is different from every other
one. It is extremely bad design. Frankly, we should design a new set of flags
and do it consistently, and then undocument the existing ones.

Meanwhile, rdmd should simply use fully qualified names and avoid the issue
entirely.

--