[Issue 15757] D main is a nested function and cannot be accessed

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15757 --- 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/35936ea3a5f3bcafebf1fd746a71aca7694e4af6 fix Issue 15757 - D main is

[Issue 15832] Crashing program when a helper template function is used to create a template struct

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15832 --- Comment #5 from Atila Neves --- At least there's a workaround: auto m = Mock!T(...); return m; I believe that the fact that this behaviour is different from the original implementation is a compiler bug and would ask for this to reopened. Also

[Issue 12575] extern(C) mangling ignored inside mixin template

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12575 Atila Neves changed: What|Removed |Added CC||atila.ne...@gmail.com --- Comment #2 from Atil

[Issue 15833] [REG2.071b] -m32mscoff always fails to link

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15833 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15498 --- Comment #3 from Kenji Hara --- Minimized example code that compiler shows the error message. struct X { this(this) {} // or: ~this() {} // or: invariant {} } union U // Error { X x; int overlapping; } struct S // Error {

[Issue 5040] opOpAssign should be automatically visible for types.

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5040 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com Hardware|x86

[Issue 15842] New: struct is being copied when returned directly

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15842 Issue ID: 15842 Summary: struct is being copied when returned directly Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: wrong-code

[Issue 15832] Crashing program when a helper template function is used to create a template struct

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15832 --- Comment #6 from ag0ae...@gmail.com --- (In reply to Atila Neves from comment #5) > At least there's a workaround: > > auto m = Mock!T(...); > return m; > > I believe that the fact that this behaviour is different from the original > implementati

[Issue 13116] Should not be able to return ref to 'this'

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13116 --- Comment #13 from Kenji Hara --- https://github.com/D-Programming-Language/dmd/pull/5591 --

[Issue 7098] Annoying Forward Reference Error When Compiling Multiple Files

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7098 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com --- Comment #1 from Maks

[Issue 15832] Crashing program when a helper template function is used to create a template struct

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15832 --- Comment #7 from Atila Neves --- In the following code, the length is garbage, and uncommenting an assert makes the problem move! import std.traits; import std.conv; int delegate(int) dg; static this() { dg = i => i * 2; } struct MockSco

[Issue 7155] inconsistent .stringof

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7155 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com Hardware|Other

[Issue 7211] Initializing const members in derived classes' constructors

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7211 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com --- Comment #1 from Maks

[Issue 7340] inout not resolved for default parameters

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7340 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com --- Comment #1 from Maks

[Issue 15839] this.outer is of wrong type

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15839 --- Comment #4 from Kenji Hara --- (In reply to Jacob Carlborg from comment #3) > So it's not representing the this reference of the outer class anymore? Until 2.070, the builtin .outer property sometimes returned correct class reference, sometimes

[Issue 15825] dmd's -transition=checkimports reports a false positive for tuple __dollar

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15825 --- 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/a13a024a02ab62ba88cbe0f87815032d931f3090 fix Issue 15825 - dmd's -tra

[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15498 --- Comment #4 from Steven Schveighoffer --- (In reply to Kenji Hara from comment #3) > Minimized example code that compiler shows the error message. But what about if there are no unions? Manu says no unions are being used. In his code, there is n

[Issue 15779] DWARF EH fails when using stack stomping (-gx)

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15779 --- Comment #10 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/c388becdb50b78f4201fb1be91813b688ce8bbda fix Issue 15779 - DWARF EH

[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15498 --- Comment #5 from Kenji Hara --- (In reply to Steven Schveighoffer from comment #4) > But what about if there are no unions? Manu says no unions are being used. > > In his code, there is no unions where the error is being printed (info > conflicts

[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15498 --- Comment #6 from Steven Schveighoffer --- (In reply to Kenji Hara from comment #5) > If there's no unions (overlapped fields), the error print would be a > compiler bug. > > Honestly I cannot say anything until I see what the "some stuff" actuall

[Issue 15498] Unhelpful error message "destructors, postblits and invariants are not allowed in overlapping fields"

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15498 --- Comment #7 from Kenji Hara --- (In reply to Steven Schveighoffer from comment #6) > Is there any way to define ComponentInfo or SharedString such that info and > baseClass overlap? I wouldn't think so. I don't know. So this is funny issue. I'm w

[Issue 15832] Crashing program when a helper template function is used to create a template struct

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15832 --- Comment #8 from ag0ae...@gmail.com --- (In reply to Atila Neves from comment #7) > In the following code, the length is garbage, and uncommenting an assert > makes the problem move! I think a garbage reference to the stack explains this well. Any

[Issue 12537] Templatizing opEquals results in infinite recursion in the compiler

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12537 --- Comment #6 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/a7ff19ae302948c4fd9e71034cc343d784137803 fix Issue 12537 - Templatizi

[Issue 12537] Templatizing opEquals results in infinite recursion in the compiler

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

[Issue 9769] Remove opEquals from Object

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9769 Issue 9769 depends on issue 12537, which changed state. Issue 12537 Summary: Templatizing opEquals results in infinite recursion in the compiler https://issues.dlang.org/show_bug.cgi?id=12537 What|Removed |Added ---

[Issue 13933] templatize object.opEquals

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13933 Issue 13933 depends on issue 12537, which changed state. Issue 12537 Summary: Templatizing opEquals results in infinite recursion in the compiler https://issues.dlang.org/show_bug.cgi?id=12537 What|Removed |Added -

[Issue 15843] New: D-type mangling used for extern(C) (extern) function declaration inside function body, on LDC, GDC, and DMD.

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15843 Issue ID: 15843 Summary: D-type mangling used for extern(C) (extern) function declaration inside function body, on LDC, GDC, and DMD. Product: D Version: D2 H

[Issue 15839] this.outer is of wrong type

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15839 --- Comment #5 from Jacob Carlborg --- (In reply to Kenji Hara from comment #4) > However... of course it's not stable. And as far as I know, there's no way > to know the number of chains up to reach wanting enclosing scope. So the best approach wo

[Issue 15844] New: how to create a program for the EK-LM3S8962 board, using the RODOS operating system, Present the time since startup in the board display (hh:mm:ss). Update this time every second an

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15844 Issue ID: 15844 Summary: how to create a program for the EK-LM3S8962 board, using the RODOS operating system, Present the time since startup in the board display (hh:mm:ss). Update

[Issue 15844] how to create a program for the EK-LM3S8962 board, using the RODOS operating system, Present the time since startup in the board display (hh:mm:ss). Update this time every second and Bli

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15844 ag0ae...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 15845] New: Windows console cannot read properly UTF-8 lines

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15845 Issue ID: 15845 Summary: Windows console cannot read properly UTF-8 lines Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 15846] New: Windows console cannot read properly UTF-8 lines

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15846 Issue ID: 15846 Summary: Windows console cannot read properly UTF-8 lines Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 15846] Windows console cannot read properly UTF-8 lines

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15846 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 15845] Windows console cannot read properly UTF-8 lines

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15845 --- Comment #1 from Steven Schveighoffer --- *** Issue 15846 has been marked as a duplicate of this issue. *** --

[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14251 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/4b74c5f687a06d95c4ffe6e8aefe10f88acc098b Remove deprecated `std.

[Issue 15840] std.typecons.RefCounted segfaults when checking isInitialized, then segfaults GDB

2016-03-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15840 cy changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---