[Issue 7422] Regression(master): ICE with template function and if statement

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7422



--- Comment #1 from github-bugzi...@puremagic.com 2012-02-06 00:16:15 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a4906de97388b62aa7e7ed842e369826d36fbb9c
fix Issue 7422 - Regression(master): ICE with template function and if
statement

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7422] Regression(master): ICE with template function and if statement

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7422


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7424] Segfault when trying to call a templated property with different const-ancy.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7424


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7425] IFTI does not work with inout methods

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7425


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7450] New: AA: Cannot uniquely infer foreach argument types

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7450

   Summary: AA: Cannot uniquely infer foreach argument types
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: druntime
AssignedTo: nob...@puremagic.com
ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-02-06 
01:45:43 PST ---
void main()
{
string[string] hash;
hash[foo] = ;

foreach (name; hash.byKey())
{
assert(typeid(string) == typeid(name));  // ok
}

// Error: cannot uniquely infer foreach argument types
foreach (string name; hash.byKey())
{
}
}

I'm confused, why can't I specify the type? It ends up being a string if I
don't set it..

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6088] Stack trace or some info with stack overflow

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6088


d...@dawgfoto.de changed:

   What|Removed |Added

 CC||d...@dawgfoto.de


--- Comment #18 from d...@dawgfoto.de 2012-02-06 02:07:21 PST ---
The problem is likely that the added stack trace generation causes another
stack overflow.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3396] Call of abstract method not detected by semantic check

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3396



--- Comment #1 from rjmcgu...@gmail.com 2012-02-06 04:07:53 PST ---
Created an attachment (id=1072)
abstract methods not being flagged as unimplemented

I encountered this problem in a library, what I found interesting was that the
program compiled and ran without crashing, just had empty output where I was
expecting text.
Attachment is a simpler test case with similar outcome:

$ dmd test.d
test.o:(.rodata+0xb0): undefined reference to `_D4test1A2a1MFZAya'
collect2: ld returned 1 exit status
--- errorlevel 1

$ dmd -c test.d
$

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7397] [Regression] std.path.buildPath can't be used with string[]

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7397



--- Comment #5 from github-bugzi...@puremagic.com 2012-02-06 04:13:38 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/c07fe7c8bac50f2e2a26952691aa66b5fee4ac7e
Issue 7397 - [Regression] std.path.buildPath can't be used with string[]

https://github.com/D-Programming-Language/phobos/commit/8b4628117428ec2b1113308872f2bcf30dac228b
Merge pull request #412 from 9rnsr/fix7397

Issue 7397 - [Regression] std.path.buildPath can't be used with string[]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4435] Multiple-inheritance of Interfaces results in final/static method/function hijacking

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4435


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||accepts-invalid, pull
 CC||yebbl...@gmail.com
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com
 OS/Version|Windows |All


--- Comment #2 from yebblies yebbl...@gmail.com 2012-02-07 03:02:17 EST ---
https://github.com/D-Programming-Language/dmd/pull/699

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4435] Multiple-inheritance of Interfaces results in final/static method/function hijacking

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4435


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-02-06 
09:36:28 PST ---
(In reply to comment #2)
 https://github.com/D-Programming-Language/dmd/pull/699

This seems to partially overlap Issue 4647. I agree with your implementation,
although Kenji seems to think otherwise in 4647. I don't know what Walter
thinks though, the pull for 4647 doesn't fix the ambiguous calls allowed part
of my bug report even though it was closed as fixed. Your pull fixes the
ambigous part.

I'm just trying to make sure we're all on the same page. :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4841] -inline wrecks nested struct with alias template parameter (An array()/map inlining problem)

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4841



--- Comment #8 from Don clugd...@yahoo.com.au 2012-02-06 10:00:46 PST ---
(In reply to comment #7)
 I believe this is the same as bug 5939.

I don't think bug 5939 involves -inline, but this one definitely does. Unless
there are plans to make compiler changes are to fix bug 5939, the inliner
shouldn't be making this transformation.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7451] New: [Git regression] AAs broken for interfaces keys and values with opEquals

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7451

   Summary: [Git regression] AAs broken for interfaces keys and
values with opEquals
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Keywords: ice
  Severity: regression
  Priority: P2
 Component: druntime
AssignedTo: nob...@puremagic.com
ReportedBy: c...@klickverbot.at


--- Comment #0 from klickverbot c...@klickverbot.at 2012-02-06 12:14:17 PST 
---
Very similar to issue 7365, using DMD and druntime from Git, this program

---
struct TickDuration {
  bool opEquals(ref const TickDuration rhs) const {
return true;
  }
}

interface Test {}

AssociativeArray!(TickDuration, Test) aa;
---

fails with

---
object.di(379): Error: function object.opEquals (const(Object) lhs,
const(Object) rhs) is not callable using argument types
(const(Test),const(Test))
object.di(379): Error: cannot implicitly convert expression (this.value) of
type const(Test) to object.Object
object.di(379): Error: cannot implicitly convert expression (p.value) of type
const(Test) to object.Object
---

The error is encountered while generating the default opEquals for the Slot
type added in
https://github.com/D-Programming-Language/druntime/commit/cd7b477b83cc8a75a90258bd2ab63fa8c92ba10b.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7451] [Git regression] AAs broken for interfaces keys and values with opEquals

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7451



--- Comment #1 from klickverbot c...@klickverbot.at 2012-02-06 12:20:37 PST 
---
(if TickDuration[Test] is used directly, DMD ICE's instead because the template
cannot be instantiated)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7427] Cannot use templated opAssign when there is a member whose type has a postblit.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7427


kenn...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #1 from kenn...@gmail.com 2012-02-06 12:39:40 PST ---
*** This issue has been marked as a duplicate of issue 4424 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4424] Copy constructor and templated opAssign cannot coexist

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4424


kenn...@gmail.com changed:

   What|Removed |Added

 CC||kenn...@gmail.com


--- Comment #5 from kenn...@gmail.com 2012-02-06 12:39:41 PST ---
*** Issue 7427 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 12:48:21 PST ---
With DMD 2.058HEAD the assertion is now at line 4136.

Doing a little bit of debugging, it seems that the line at 4135:
---
if (pastEnd  end) ++count;
---
is the culprit. With the r1 range, the count variable is correctly updated, as
both pastEnd and end are different.

But with the failling range (r2), pastEnd and end have the same value!, and
thus the count is not correctly updated.

Changing the previous code to:
---
if (pastEnd = end) ++count;
---
seems to do the trick, and passes all the std.range unit tests. But I don't
know if that's the correct fix.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531



--- Comment #2 from Yao Gomez yao.go...@gmail.com 2012-02-06 12:51:13 PST ---
I have a patch with this solution, but I haven't pulled it yet, because I need
more input in whether this is the right fix or not.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6251] D spec should warn about using foreach_reverse on a delegate

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6251


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yao.go...@gmail.com
 Resolution||DUPLICATE


--- Comment #3 from Yao Gomez yao.go...@gmail.com 2012-02-06 13:05:24 PST ---
In the comments of issue 1553 there are an initiative to add documentation
about this issue.

*** This issue has been marked as a duplicate of issue 1553 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1553] foreach_reverse is allowed for delegates

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553



--- Comment #14 from Yao Gomez yao.go...@gmail.com 2012-02-06 13:05:24 PST ---
*** Issue 6251 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6251] D spec should warn about using foreach_reverse on a delegate

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6251


Steven Schveighoffer schvei...@yahoo.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |


--- Comment #4 from Steven Schveighoffer schvei...@yahoo.com 2012-02-06 
13:48:43 PST ---
(In reply to comment #3)
 In the comments of issue 1553 there are an initiative to add documentation
 about this issue.

This is *not* a duplicate, it's a direct result of Walter closing bug 1553
saying updating the documentation should be fine.  This bug report *is* the
initiative to add documentation!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7454] New: Add file and line numbers to Linux stack traces using addr2line

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7454

   Summary: Add file and line numbers to Linux stack traces using
addr2line
   Product: D
   Version: unspecified
  Platform: All
OS/Version: Linux
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: druntime
AssignedTo: nob...@puremagic.com
ReportedBy: jmdavisp...@gmx.com


--- Comment #0 from Jonathan M Davis jmdavisp...@gmx.com 2012-02-06 15:10:58 
PST ---
I'm not quite sure what the situation on Windows or other Posix OSes is, but on
Linux, D's stack traces lack files and line numbers. We sort of get the file
name thanks to the fact that the module name _is_ the file name (or at least
close to it) and that ends up as part of the symbol, but the actual file name
would still be nice, and we lack the line number regardless.

Per this answer on stackoveflow (method #4):

http://stackoverflow.com/questions/3151779/how-its-better-to-invoke-gdb-from-program-to-print-its-stacktrace/462#462

it should be possible to get the file and line number for at least some portion
of a stack trace (some lines seem to end up with ??:0 rather than any real
information, but that's still better than nothing).

I did some experimenting on my own, and it appears that the address printed in
the stack trace does indeed work with addr2line with some lines as long as I
compile with -g. So, I don't think that we can always have stack traces with
file names and line numbers, but we _can_ as long as debug symbols are enabled.

As such, I think that we should add file names and line numbers to D's stack
traces on Linux. If we can do it for other OSes, we should do it there as well,
but I'm opening up this enhancement specifically for Linux because that's the
only one for which I have any clue how to do it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6115] Variadic documentation should import core.vararg.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6115


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 16:25:35 PST ---
pull
https://github.com/D-Programming-Language/d-programming-language.org/pull/75

Fixes the documentation.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6483] std.container.moveBack

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6483


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 16:41:28 PST ---
Maybe just change it to: Destructively reads and returns the last element of
the container. The slot is not removed from the container; it is left
initalized with T.init. This routine need not be defined if back returns a
ref.

But the last sentence is correct for the moveBack method?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6179] scope should be removed from http://www.digitalmars.com/d/2.0/memory.html

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6179


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 16:58:58 PST ---
There has been further discussion about this? It's a given that scope is going
in the way of the dinosaur?

I could make the pull request to remove that section from the docs. But in the
recent list of deprecated stuff
(https://github.com/D-Programming-Language/d-programming-language.org/commit/ee478b55207862dda5201bd3bfb57e029236e6e5)
there's no mention of scope.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5930] cas doesn't work when used in code compiled with -D

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5930


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yao.go...@gmail.com


--- Comment #3 from Yao Gomez yao.go...@gmail.com 2012-02-06 18:08:38 PST ---
pull https://github.com/D-Programming-Language/druntime/pull/146

Uses the solution proposed by Rainer Schuetze. Instead of DruntimeDdoc, it uses
CoreDdoc.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6024] Windows 2000 SP4 is not supported any more? And what is still supported?

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6024


Jonathan M Davis jmdavisp...@gmx.com changed:

   What|Removed |Added

   Platform|All |x86
 OS/Version|All |Windows


--- Comment #13 from Jonathan M Davis jmdavisp...@gmx.com 2012-02-06 18:12:13 
PST ---
Why would you change this to All Platforms and All OSes? It's Windows-specific.
Windows _2000_ specific, no less. It should be x86 Windows.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6024] Windows 2000 SP4 is not supported any more? And what is still supported?

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6024



--- Comment #14 from Yao Gomez yao.go...@gmail.com 2012-02-06 18:18:59 PST ---
Sorry, it was a 'misplaced tab in Opera' (I opened the wrong link :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4435] Multiple-inheritance of Interfaces results in final/static method/function hijacking

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4435



--- Comment #4 from yebblies yebbl...@gmail.com 2012-02-07 13:47:24 EST ---
(In reply to comment #3)
 (In reply to comment #2)
  https://github.com/D-Programming-Language/dmd/pull/699
 
 This seems to partially overlap Issue 4647. I agree with your implementation,
 although Kenji seems to think otherwise in 4647. I don't know what Walter
 thinks though, the pull for 4647 doesn't fix the ambiguous calls allowed 
 part
 of my bug report even though it was closed as fixed. Your pull fixes the
 ambigous part.
 
 I'm just trying to make sure we're all on the same page. :)

I'm pretty sure the call should be disallowed, it is ambiguous.  Places like
this where behavior depends on order of declarations are generally bugs.

Note that my patch still needs some work.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5915] Newlines are not propagated when copypasting code snippets

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5915


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #4 from bearophile_h...@eml.cc 2012-02-06 19:10:55 PST ---
(In reply to comment #2)
 Can anyone else confirm this?

Using Firefox10 when I copy and paste I don't see newlines, so I confirm the
problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4778] www.d-programming-language.org Interfacing to C says There are no const or volatile type modifiers in D

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4778


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 19:36:47 PST ---
pull
https://github.com/D-Programming-Language/d-programming-language.org/pull/77

This removes the mention to const, but I left volatile, as it's deprecated and
I see no point of mentioning that. Of course this can be changed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7426] Inner struct no size yet for forward reference when using .tupleof inside it.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7426



--- Comment #4 from github-bugzi...@puremagic.com 2012-02-06 19:37:15 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7cd2d8b81cd52002665cb61c04109dc6c6d97b7a
Issue 7426

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7426] Inner struct no size yet for forward reference when using .tupleof inside it.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7426


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com
   Severity|regression  |normal


--- Comment #5 from Walter Bright bugzi...@digitalmars.com 2012-02-06 
19:38:15 PST ---
This isn't a regression, it never really did work right. But the partial fix at
least makes it work correctly for the original bug report.

It may not be completely fixable.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7397] [Regression] std.path.buildPath can't be used with string[]

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7397


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

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-02-06 19:39:25 PST ---
OK, pull #412 was merged.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4788] extern (System) not documented

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4788


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yao.go...@gmail.com
 Resolution||INVALID


--- Comment #2 from Yao Gomez yao.go...@gmail.com 2012-02-06 19:44:09 PST ---
The extern(System) attribute is briefly defined in:
http://dlang.org/attribute.html#linkage

The relevant part of the paragraph is: System is the same as Windows on
Windows platforms, and C on other platforms.

Although brief, it correctly specifies the meaning of that attribute. I'm
closing this bug report, but if you disagree, please reopen.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7455] New: narrowing float cast skipped for x87 values

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7455

   Summary: narrowing float cast skipped for x87 values
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: d...@dawgfoto.de


--- Comment #0 from d...@dawgfoto.de 2012-02-06 19:46:54 PST ---
int main()
{
real a = 1.0L + float.epsilon;
if (cast(float)(a + 1.0L)  2.0L)
return 1;
return 0;
}

-
cast(float) is skipped
-

A similar test with double and SSE works correctly.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7426] Inner struct no size yet for forward reference when using .tupleof inside it.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7426



--- Comment #6 from David Simcha dsim...@yahoo.com 2012-02-06 19:47:50 PST ---
Still broken with my test case.  Where do we draw the line between regressions
and non-regressions?  2.058 has a lot of borderline cases where internal
changes in the compiler make pre-existing bugs affect code they didn't used to
affect.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5590] ICE(e2ir.c): when using .values on enum which is associative array

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5590


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2012-02-06 
19:51:50 PST ---
Clearly, the AA solution in D needs some re-engineering, so I'm going to have
to defer fixing this for the moment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4854] Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854



--- Comment #14 from Walter Bright bugzi...@digitalmars.com 2012-02-06 
19:58:16 PST ---
Is anyone still running 10.5? That's two OSX versions ago.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4777] www.d-programming-language.org Language Reference has link to Const and Invariant

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4777


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yao.go...@gmail.com
 Resolution||FIXED


--- Comment #3 from Yao Gomez yao.go...@gmail.com 2012-02-06 20:02:12 PST ---
The link to the Const and Immutable article is now correctly named. Closing
this as it's fixed.

@Piotr Szturmaj: I think that your website bug should be another new Bugzilla
report.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5590] ICE(e2ir.c): when using .values on enum which is associative array

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5590



--- Comment #7 from yebblies yebbl...@gmail.com 2012-02-07 15:02:53 EST ---
(In reply to comment #6)
 Clearly, the AA solution in D needs some re-engineering, so I'm going to have
 to defer fixing this for the moment.

This is also fixed by rolling back the AA implementation.

https://github.com/D-Programming-Language/dmd/pull/688
https://github.com/D-Programming-Language/druntime/pull/143

If this is pulled (which I think it should be) this bug report can be closed. 
Pull 688 contains test cases for this bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4548] D2 Language Docs: http://www.digitalmars.com/d/2.0/attribute.html

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4548


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #1 from Yao Gomez yao.go...@gmail.com 2012-02-06 20:05:45 PST ---
__gshared Attribute is now documented. See:

http://www.d-programming-language.org/attribute.html#gshared.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6243] Update the D2 FAQs.

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6243


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 Status|NEW |RESOLVED
 CC||yao.go...@gmail.com
 Resolution||FIXED


--- Comment #2 from Yao Gomez yao.go...@gmail.com 2012-02-06 20:16:26 PST ---
The aforementioned commit was accepted and merged: 

https://github.com/D-Programming-Language/d-programming-language.org/commit/7620b5597c641ac947c4c5b53afdb078f8a4004f

Closing this bug report as fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531


d...@dawgfoto.de changed:

   What|Removed |Added

 CC||d...@dawgfoto.de
 Depends on||7455


--- Comment #3 from d...@dawgfoto.de 2012-02-06 20:27:53 PST ---
The correct fix is to narrow the lhs of the comparison.
assert(cast(Value)(start + count * step) = end)

It is a common source of bugs that the intermediate 80-bit result is used for
temporaries.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7370] Major errors in the FAQ

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7370


Yao Gomez yao.go...@gmail.com changed:

   What|Removed |Added

 CC||yao.go...@gmail.com


--- Comment #2 from Yao Gomez yao.go...@gmail.com 2012-02-06 20:37:02 PST ---
Don fixed all the problems reported in this issue, should this be closed? Or
there's going to be more fixes to the FAQ here?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269



--- Comment #11 from Walter Bright bugzi...@digitalmars.com 2012-02-06 
20:59:24 PST ---
The whole idea of error gagging is probably bogus because of this.

I don't know what to do about it.

One possibility might be to attach gagged error messages to the symbol having
semantic() run on, and then replaying those messages if the symbol is used
outside of the gag.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269



--- Comment #12 from yebblies yebbl...@gmail.com 2012-02-07 17:28:39 EST ---
Don seems to have a handle on this.  He explained his solution to me in
comments on https://github.com/D-Programming-Language/dmd/pull/652 and it seems
quite solid.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269



--- Comment #13 from github-bugzi...@puremagic.com 2012-02-06 22:42:30 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/75ccf8c3ae057aad7128d710fe735f7772be0471
Issue 4269 - Regression(2.031): invalid type accepted if evaluated while errors
are gagged

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 OS/Version|Windows |All


--- Comment #14 from Walter Bright bugzi...@digitalmars.com 2012-02-06 
22:44:36 PST ---
My patch doesn't thoroughly fix this, it just gets it off the regression list.
It outputs a generic error message.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---