[Issue 8861] New: compiler should inform as ... can't return lvalue but crush because of Internal error

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8861 Summary: compiler should inform as ... can't return lvalue but crush because of Internal error Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 1695] implib produces wrong *.lib files

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1695 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|RESOLVED

[Issue 1695] implib produces wrong *.lib files

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1695 --- Comment #3 from Denis Shelomovskij verylonglogin@gmail.com 2012-10-21 15:03:45 MSD --- Damn, sorry. This is the correct DEF file for 'implib': --- LIBRARY PSAPI EXPORTS _EnumProcesses@12=EnumProcesses --- (or the program will link but

[Issue 3960] Unused local variables not reported

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #33 from bearophile_h...@eml.cc 2012-10-21 04:39:22 PDT --- A related warning is for unused local alias. A bug in GCC, libstdc++/33084, in valarrray function with this body: typedef _BinClos_Name, _Constant, _ValArray, _Tp, _Tp

[Issue 8862] New: order of declaration of a function and compile time execution

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8862 Summary: order of declaration of a function and compile time execution Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 8862] order of declaration of a function and compile time execution

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8862 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8862] order of declaration of a function and compile time execution

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8862 --- Comment #2 from Ryuichi OHORI r.97...@gmail.com 2012-10-21 06:47:20 PDT --- (In reply to comment #1) Reduced test case. The line of initialization of the 'b' variable matters. If it's defined after bar() it compiles, otherwise it doesn't

[Issue 8862] order of declaration of a function and compile time execution

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8862 --- Comment #3 from bearophile_h...@eml.cc 2012-10-21 06:53:27 PDT --- (In reply to comment #2) (In reply to comment #1) Reduced test case. The line of initialization of the 'b' variable matters. If it's defined after bar() it compiles,

[Issue 8757] Require parenthesization of ternary operator when compounded

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #1 from bearophile_h...@eml.cc 2012-10-21 10:22:51 PDT --- From: http://www.viva64.com/en/examples-V502/ Some bugs caused by ternary operator usage in already tested and used code of professionally-managed projects.

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added Keywords|pull|

[Issue 8863] New: struct passed to template: cannot access frame pointer

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 Summary: struct passed to template: cannot access frame pointer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2

[Issue 8836] function called with argument types ((void function())) matches both f(void function() fn) and f(void delegate() dg)

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8836 --- Comment #3 from github-bugzi...@puremagic.com 2012-10-21 12:47:33 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8836] function called with argument types ((void function())) matches both f(void function() fn) and f(void delegate() dg)

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8836 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3824] An AA with an AA as key doesn't seem to work

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3824 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4066] ICE(e2ir.c): enum AA get

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4066 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 4281] AA literal problem with mutable array as key

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4281 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8723] Error: function called with argument types:

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8861] ICE: ../ztc/cgcs.c 343

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8861 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8572] Bad mismatched nested comments error

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8572 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3824] An AA with an AA as key doesn't seem to work

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3824 bearophile_h...@eml.cc changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 4281] AA literal problem with mutable array as key

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4281 --- Comment #3 from bearophile_h...@eml.cc 2012-10-21 13:51:00 PDT --- (In reply to comment #2) It compiles now, although I'm not sure if such a key should be allowed.. The type of the key of this associative array is actually const int[],

[Issue 4066] ICE(e2ir.c): enum AA get

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4066 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4066] ICE(e2ir.c): enum AA get

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4066 --- Comment #4 from bearophile_h...@eml.cc 2012-10-21 13:52:57 PDT --- Closed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 3824] An AA with an AA as key doesn't seem to work

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3824 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 13:54:26 PDT --- (In reply to comment #1) It doesn't work still, see: void main() { int[int] aa1 = [1: 2]; int[int] aa2 = [1: 2]; int[int[int]] aa3;

[Issue 3824] An AA with an AA as key doesn't seem to work

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3824 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 13:57:54 PDT --- (In reply to comment #2) (In reply to comment #1) It doesn't work still, see: void main() { int[int] aa1 = [1: 2]; int[int] aa2 =

[Issue 8572] Bad mismatched nested comments error

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8572 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8765] assert should print the source code for the condition when no message argument present

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8765 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8765] assert should print the source code for the condition when no message argument present

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8765 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added AssignedTo|nob...@puremagic.com

[Issue 6707] Error message for mismatch of const/non-const property functions needs to improve

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6707 bearophile_h...@eml.cc changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 8154] Source of error is hidden when using default-parametrized tempalte-struct

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8154 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1353] Can't use typeof() in base class list.

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1353 --- Comment #2 from github-bugzi...@puremagic.com 2012-10-21 14:14:16 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8549] Bad error message with const methods

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8549 --- Comment #6 from bearophile_h...@eml.cc 2012-10-21 14:10:56 PDT --- (In reply to comment #5) Do you want me to reopen this bug report? I have reopened Issue 6707 instead. -- Configure issuemail:

[Issue 1353] Can't use typeof() in base class list.

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1353 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6707] Error message for mismatch of const/non-const property functions needs to improve

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6707 --- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 14:15:14 PDT --- (In reply to comment #4) But I think a better error message, more newbie-friendly, tells the programmer how to fix the problem, (not complete error

[Issue 3824] An AA with an AA as key doesn't seem to work

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3824 --- Comment #4 from bearophile_h...@eml.cc 2012-10-21 14:15:58 PDT --- (In reply to comment #3) On second thought I'm not sure what you're asking. You want the two keys to be just one key? Yeah, sorry for not being clear enough. aa1 == aa2

[Issue 8864] Simpler syntax for array literal of structs from one argument

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8864 --- Comment #1 from bearophile_h...@eml.cc 2012-10-21 14:26:37 PDT --- It's meant to work with 2D arrays too: struct Nibble { ubyte u; this(ubyte ub) in { assert(ub 16); } body { this.u = ub; } } void

[Issue 8864] New: Simpler syntax for array literal of structs from one argument

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8864 Summary: Simpler syntax for array literal of structs from one argument Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 6707] Error message for mismatch of const/non-const property functions needs to improve

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6707 --- Comment #6 from bearophile_h...@eml.cc 2012-10-21 14:33:36 PDT --- (In reply to comment #5) If it's in a 3rd party library then the user has no other choice but to use a const object. I don't think we should start recommending to rewrite

[Issue 7350] Improve error message on access to non-existent enum field

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7350 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3913] Bad error message with wrong enum

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3913 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 14:44:25 PDT --- *** Issue 7350 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 7062] Void parameter errors with overloaded templates don't indicate instantiation location

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7062 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7063] No error or warning for conflicting D and C symbols

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7063 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8865] New: Assertion failure: on line 1166 in interpret.c

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8865 Summary: Assertion failure: on line 1166 in interpret.c Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8862] order of declaration of a function and compile time execution

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8862 --- Comment #4 from Ryuichi OHORI r.97...@gmail.com 2012-10-21 15:11:21 PDT --- I see. Then try to minimize the code yourself. And then attach/paste it here instead of dpaste, please. Actually I was trying to reduce test case for a bug

[Issue 7063] No error or warning for conflicting D and C symbols

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7063 --- Comment #3 from Peter Alexander peter.alexander...@gmail.com 2012-10-21 15:40:22 PDT --- (In reply to comment #2) How come you're not getting linker errors? I am on win32: Error 1: Previous Definition Different : _D4test3fooFZv

[Issue 7025] strange static lib error

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7025 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6487] Richer impurity error message

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6487 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7050] Safety error message should include full function names

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7050 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 7050] Safety error message should include full function names

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7050 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 16:08:17 PDT --- *** Issue 5122 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 8865] Assertion failure: on line 1166 in interpret.c

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8865 --- Comment #1 from Ryuichi OHORI r.97...@gmail.com 2012-10-21 16:23:11 PDT --- the code above If -release, it compiles. And below compiles as well: void main() {} static int x = f(); static int f() out { g(); } body { return 1; }

[Issue 2880] DMD is generating the wrong file line number for a (new) phobos error in conv.text. traits.d:1011 conv.d:2454

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2880 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3565] rdmd --man doesn't work on Windows

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3565 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 3613] enforce cannot be called with template parameters and compile.

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3613 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3666] Enhancement Request: Mixin Templates

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3666 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3850] Signed/unsigned bytes type name

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3850 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3821] writeln doesn't detect recursive data structures yet

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3821 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3851] Array copy error message with no line number

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3851 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3857] Write property for arrays does not work properly

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3857 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 3890] Bad writeln of a nested struct

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3890 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8794] DDoc should provide qualified symbol names suitable for anchors

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8794 --- Comment #4 from github-bugzi...@puremagic.com 2012-10-21 20:19:23 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3883] Line number and file name of Exception instantiation

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3883 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3989] stringof of nested enums doesn't give sufficient information

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3989 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4091] Small docs page about dynamic array implementation

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4091 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4183] @property doesnt work with delegate return type

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4183 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 4318] compile with flag unittest, depending on the order files, Access Violation

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4318 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8765] assert should print the source code for the condition when no message argument present

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8765 --- Comment #5 from Val Markovic v...@markovic.io 2012-10-21 20:52:19 PDT --- Same as bearophile; the following program void main() { assert(5 == 4); } gives me the following output: core.exception.AssertError@test(2): Assertion failure

[Issue 4433] object.Error: Access Violation missing file and line number

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4433 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4679] Problem with final override

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4679 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4608] std.string.chomp documentation mismatch implementation

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4608 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 4697] std.demangle doesn't work correctly

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4697 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4762] Textual representation of struct that doesn't define toString()

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4762 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8794] DDoc should provide qualified symbol names suitable for anchors

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8794 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|