Re: static foreach in gdc

2020-02-08 Thread Elronnd via D.gnu
On Friday, 7 February 2020 at 11:51:36 UTC, Jean-Louis Leroy wrote: What's the situation with `static foreach` on gdc? When I install it using install.sh from https://dlang.org/install.html, I get 4.8.5, which does not support `static foreach`. That is also the version that is installed on tra

Re: ICE with static immutable RedBlackTree

2017-11-28 Thread Elronnd via D.gnu
Ok done, https://bugzilla.gdcproject.org/show_bug.cgi?id=280

Re: ICE with static immutable RedBlackTree

2017-11-27 Thread Elronnd via D.gnu
On Friday, 24 November 2017 at 09:30:02 UTC, Iain Buclaw wrote: care to raise a bug? Hrmm. I tried to create an account on the bugzilla, but got assaulted by this message: There was an error sending mail from 'gdc-bugzi...@gdcproject.org' to elro...@slashem.me: error when closing pipe

ICE with static immutable RedBlackTree

2017-11-23 Thread Elronnd via D.gnu
There is this ICE: void main() { import std.container; static immutable s = new RedBlackTree!int('h'); }

Re: ICE with custom map template.

2017-09-17 Thread Elronnd via D.gnu
See also the bugzilla (https://issues.dlang.org/show_bug.cgi?id=17836).

ICE with custom map template.

2017-09-17 Thread Elronnd via D.gnu
I get an ICE with the following code: void main() { import std.stdio; template mmap(alias fun) { void mmap(T...)(T list) { foreach (item; list) { fun(item); } }

Re: ICE when calling templated function from extern (C++) templated function?

2017-01-08 Thread Elronnd via D.gnu
On Saturday, 31 December 2016 at 15:10:36 UTC, Iain Buclaw wrote: On 28 December 2016 at 07:51, Elronnd via D.gnu wrote: *snip* It seems the bug is also in dmd too? Unless it is fixed in master/latest release, in which case will need to find out when this happened. It works fine for me on

ICE when calling templated function from extern (C++) templated function?

2016-12-27 Thread Elronnd via D.gnu
Here's a minimal example: void r(T...)(T args) {} extern (C++) { void s(T...)(T args) { r(args); } } void main() { s(0); } Traceback from GDC: cc1d: ../../gcc-6.3.0/gcc/d/dfrontend/cppmangle.c:185: void CppMangleVisitor::source_name(Dsymbol*, bool): Assertion