[Issue 24240] New: Missing @nogc compile error in -betterC leads to undefined reference linker error

2023-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24240 Issue ID: 24240 Summary: Missing @nogc compile error in -betterC leads to undefined reference linker error Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 11455] Overriding template methods should raise a compile error

2023-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
ods should raise a compile error https://github.com/dlang/dmd/pull/15350 --

[Issue 11455] Overriding template methods should raise a compile error

2023-06-26 Thread d-bugmail--- via Digitalmars-d-bugs
created dlang/dmd pull request #15350 "Fix Issue 11455 - Overriding template methods should raise a compile …" fixing this issue: - Fix Issue 11455 - Overriding template methods should raise a compile error https://github.com/dlang/dmd/pull/15350 --

[Issue 17235] Compile error inout member function, out-of-order semantic

2023-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17235 johanenge...@weka.io changed: What|Removed |Added CC||johanenge...@weka.io --- Comment #2

[Issue 17235] Compile error inout member function, out-of-order semantic

2023-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17235 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 11455] Overriding template methods should raise a compile error

2023-02-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11455 Basile-z changed: What|Removed |Added Keywords||diagnostic CC|

[Issue 20876] DMD gives out not so helpful compile error

2023-02-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 RazvanN changed: What|Removed |Added CC||alphaglosi...@gmail.com --- Comment #8 from

[Issue 23617] traits(child) compile error need this for something that doesn't need this

2023-01-12 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #14807 "Fix Issue 23617 - traits(child) compile error need this for something that doesn't need this" was merged into master: - 5028d8ea204cd57030eaceaf16bf5ae43ea130de by RazvanN7: Fix Issue 23617 - traits(chil

[Issue 23617] traits(child) compile error need this for something that doesn't need this

2023-01-12 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 created dlang/dmd pull request #14807 "Fix Issue 23617 - traits(child) compile error need this for something that doesn't need this" fixing this issue: - Fix Issue 23617 - traits(child) compile error need this for something that doesn't need this https://github.com/dlang/dmd/pull/14807 --

[Issue 23617] New: traits(child) compile error need this for something that doesn't need this

2023-01-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23617 Issue ID: 23617 Summary: traits(child) compile error need this for something that doesn't need this Product: D Version: D2 Hardware: All OS: All

[Issue 11455] Overriding template methods should raise a compile error

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11455 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --

[Issue 17821] atomicStore compile error when target is larger than source

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17821 Iain Buclaw changed: What|Removed |Added Priority|P3 |P4 --

[Issue 17235] Compile error inout member function, out-of-order semantic

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17235 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 21049] template inside template causes internal compile error

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21049 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 15766] extern(Objective-C) should result in compile error on OS X 32bit

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15766 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 15893] std.algorithm.each returns a misleading compile error

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15893 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --

[Issue 17821] atomicStore compile error when target is larger than source

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17821 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 21049] template inside template causes internal compile error

2020-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21049 --- Comment #1 from cy --- Created attachment 1799 --> https://issues.dlang.org/attachment.cgi?id=1799=edit The compiler error backtrace --

[Issue 21049] New: template inside template causes internal compile error

2020-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21049 Issue ID: 21049 Summary: template inside template causes internal compile error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 20876] DMD gives out not so helpful compile error

2020-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 --- Comment #7 from Puneet Goel --- *** Issue 20927 has been marked as a duplicate of this issue. *** --

Re: Why is it possible to call non-const member functions of rvalues but a compile error to modify members or rvalues directly?

2020-06-14 Thread Johannes Loher via Digitalmars-d-learn
On Saturday, 13 June 2020 at 12:47:31 UTC, Stanislav Blinov wrote: [...] The temporary exists until the end of full expression, or until the end of enclosing statement. It is simply not an lvalue for the caller, but it certainly exists, and so its interface must function. So public data

Re: Why is it possible to call non-const member functions of rvalues but a compile error to modify members or rvalues directly?

2020-06-13 Thread Stanislav Blinov via Digitalmars-d-learn
On Saturday, 13 June 2020 at 11:26:58 UTC, Johannes Loher wrote: Why is it a compile error to set `_a` directly but calling `a` just works fine? If we prevent modifying members of rvalues directly, I would also expect calling non-const member functions of rvalues to be prevented. 1

Why is it possible to call non-const member functions of rvalues but a compile error to modify members or rvalues directly?

2020-06-13 Thread Johannes Loher via Digitalmars-d-learn
is it a compile error to set `_a` directly but calling `a` just works fine? If we prevent modifying members of rvalues directly, I would also expect calling non-const member functions of rvalues to be prevented.

[Issue 20876] DMD gives out not so helpful compile error

2020-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 --- Comment #6 from kinke --- (In reply to RazvanN from comment #4) > So, to conclude, by the current language rules the error is correct. > > The fix in this situation would be to annotate the copy constructor of Bar > with `inout`: this(ref

[Issue 20876] DMD gives out not so helpful compile error

2020-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 --- Comment #5 from moonlightsenti...@disroot.org --- (In reply to RazvanN from comment #4) > The fix in this situation would be to annotate the copy constructor of Bar > with `inout`: this(ref inout(Bar)) inout . That will make the code to >

[Issue 20876] DMD gives out not so helpful compile error

2020-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #4 from

[Issue 20876] DMD gives out not so helpful compile error

2020-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 --- Comment #3 from moonlightsenti...@disroot.org --- Reduced test case: struct Array { void opSliceAssign(Foo) {} void opSliceAssign(Foo, size_t, size_t) {} } struct Foo { Bar _bar; } struct Bar { version (Bug) this(ref Bar) { }

[Issue 20876] DMD gives out not so helpful compile error

2020-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #2 from kinke --- (In

[Issue 20876] DMD gives out not so helpful compile error

2020-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 moonlightsenti...@disroot.org changed: What|Removed |Added CC||moonlightsentinel@disroot.o

[Issue 20876] New: DMD gives out not so helpful compile error

2020-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20876 Issue ID: 20876 Summary: DMD gives out not so helpful compile error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression

[Issue 11728] compile error in std.bigint and -profile

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11728 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 17984] compile error using DMD v2.077.0-160

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17984 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 12112] buildNormalizedPath compile error for wstring and dstring

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12112 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 15766] extern(Objective-C) should result in compile error on OS X 32bit

2020-01-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15766 Walter Bright changed: What|Removed |Added Keywords||objc CC|

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #11 from anonymous4 --- (In reply to Victor Porton from comment #7) > By the way, we should raise the task to completely replace Ada. There should > be no unpredictable crashes. That's more or less the plan for Safe D. --

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #10 from anonymous4 --- Should be detectable by dscanner on syntax level: if rhs is a template named Scoped and lhs is not an `auto` declared variable. --

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #9 from anonymous4 --- (In reply to Victor Porton from comment #5) > If it requires compiler changes specifically for Scoped implementation, it > should be done, Scoped is a very important construct and deserves special > compiler

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #8 from Simen Kjaeraas --- There is no unpredictable crash in this case - the crash is perfectly predictable. And no, it's not like saying C does what it should - it's like saying Rust does what it should because you can do unsafe stuff

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #7 from Victor Porton --- It is the same as if you were to say: C does what it should do, it crashes programs. I utterly disagree. Crash on T x = Scoped!T(); is a BUG in reliability. Not a bug in the implementation, but a bug in

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #6 from

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #5 from Victor Porton --- No, I propose to fix the bug, not to remove a feature. The measures of https://dlang.org/spec/memory-safe-d.html are not enough, because Scoped is a very special case and need to be done in some special way, to

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #4 from anonymous4 --- Safe D is an ongoing effort to fix such bugs, see https://dlang.org/spec/memory-safe-d.html Or do you propose to remove Scoped from phobos? --

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 --- Comment #3 from Victor Porton --- This "by design" is very disgracing. Need to do something. If to make it more reliable it's needed compiler changes, a new compiler "directive" should be added. @safe being missing should make harmlessly

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 anonymous4 changed: What|Removed |Added Keywords||safe Status|NEW

[Issue 20137] A program crashes at runtime (should be compile error)

2019-08-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com Component|dmd

[Issue 20137] New: A program crashes at runtime (should be compile error)

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20137 Issue ID: 20137 Summary: A program crashes at runtime (should be compile error) Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 11455] Overriding template methods should raise a compile error

2019-03-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11455 Basile-z changed: What|Removed |Added CC||riddlermich...@gmail.com --- Comment #1 from

[Issue 17984] compile error using DMD v2.077.0-160

2019-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17984 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 19083] make target doc compile error: mach_header conflicts with other

2018-07-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19083 --- Comment #2 from Timoses --- (In reply to Seb from comment #1) > Have you tried building the docs from dlang.org? The individual doc targets > have been deprecated for a very long time already. Yes, I tried building the verbatim version. That

[Issue 19083] make target doc compile error: mach_header conflicts with other

2018-07-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19083 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment #1 from Seb ---

[Issue 19083] New: make target doc compile error: mach_header conflicts with other

2018-07-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19083 Issue ID: 19083 Summary: make target doc compile error: mach_header conflicts with other Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status

[Issue 13741] std.traits.moduleName!Foo gives a compile error for a function with parameters

2018-05-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13741 Basile B. changed: What|Removed |Added CC||b2.t...@gmx.com

[Issue 18753] chunkBy compile error causes ICE

2018-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d119ed9912891f133092ef0d61bbba74ca175aca Fix Issue 18753 - chunkBy compile error causes ICE https

[Issue 18753] chunkBy compile error causes ICE

2018-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18753] chunkBy compile error causes ICE

2018-04-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 --- Comment #1 from RazvanN --- PR : https://github.com/dlang/dmd/pull/8161 --

[Issue 18753] chunkBy compile error causes ICE

2018-04-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 RazvanN changed: What|Removed |Added CC|

[Issue 18753] chunkBy compile error causes ICE

2018-04-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||ice --

[Issue 18753] chunkBy compile error causes ICE

2018-04-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 hst...@quickfur.ath.cx changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18753] chunkBy compile error causes ICE

2018-04-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 hst...@quickfur.ath.cx changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18753] New: chunkBy compile error causes ICE

2018-04-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18753 Issue ID: 18753 Summary: chunkBy compile error causes ICE Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority

[Issue 16965] changed.d compile error

2017-12-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16965 greenify changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17984] compile error using DMD v2.077.0-160

2017-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17984 --- Comment #2 from Jonathan Marler --- Ah wait a minute, I updated my druntime repository and the error went away. --

[Issue 17984] compile error using DMD v2.077.0-160

2017-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17984 Jonathan Marler changed: What|Removed |Added CC|

[Issue 17984] New: compile error using DMD v2.077.0-160

2017-11-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17984 Issue ID: 17984 Summary: compile error using DMD v2.077.0-160 Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority

[Issue 11728] compile error in std.bigint and -profile

2017-11-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11728 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: Why does BinaryHeap sometime cause compile-error in foeach?

2017-09-30 Thread Shigeki Karita via Digitalmars-d-learn
Oh, struct/class semantics really confuses me!

Re: Why does BinaryHeap sometime cause compile-error in foeach?

2017-09-30 Thread user1234 via Digitalmars-d-learn
On Saturday, 30 September 2017 at 09:27:23 UTC, Shigeki Karita wrote: https://dpaste.dzfl.pl/cd605899d050 why this code cannot convert to foreach (over Structs and Classes with Ranges). auto h = new BinaryHeap!(int[])(new int[0]); typeof(h).stringof.writeln; static

Why does BinaryHeap sometime cause compile-error in foeach?

2017-09-30 Thread Shigeki Karita via Digitalmars-d-learn
https://dpaste.dzfl.pl/cd605899d050 why this code cannot convert to foreach (over Structs and Classes with Ranges). auto h = new BinaryHeap!(int[])(new int[0]); typeof(h).stringof.writeln; static assert(isInputRange!(typeof(h))); h.insert(3); h.insert(1); h.insert(2);

[Issue 17821] atomicStore compile error when target is larger than source

2017-09-11 Thread via Digitalmars-d-bugs
|atomicStore is buggy when |atomicStore compile error |target is larger than |when target is larger than |source |source --

[Issue 14575] compile error with std.range.refRange when front/back isn't implicitly convertible from const to mutable

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14575 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/08ea0476a5105c6d70e34defb46a66d6ebd28f47 fix Issue 14575 - compile error

[Issue 14396] [REG2.066] compile error std.conv.parse!int with input range

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14396 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/99da04d9af3a4e44d8576445c06d701fe6fdada4 fix Issue 14396 - compile error std.conv.parse!int

Compile Error

2017-04-19 Thread MihailProg via Digitalmars-d
I use Visual Studio 2015 with the latest versions of D installed, and when i try to compile a simple hello world code i get this error: -- Build started: Project: LearningD, Configuration: Debug Win32 -- Building Win32\Debug\LearningD.exe... Microsoft (R) Incremental Linker Version

[Issue 17235] Compile error inout member function, out-of-order semantic

2017-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17235 Johan Engelen changed: What|Removed |Added Keywords||industry --

[Issue 17235] New: Compile error inout member function, out-of-order semantic

2017-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17235 Issue ID: 17235 Summary: Compile error inout member function, out-of-order semantic Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 16965] changed.d compile error

2017-01-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16965 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 16965] changed.d compile error

2016-12-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16965 --- Comment #1 from rdirect...@gmail.com --- Created attachment 1625 --> https://issues.dlang.org/attachment.cgi?id=1625=edit git diff patch --

[Issue 16965] changed.d compile error

2016-12-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16965 rdirect...@gmail.com changed: What|Removed |Added URL||https://github.com/dlang/to

[Issue 16965] New: changed.d compile error

2016-12-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16965 Issue ID: 16965 Summary: changed.d compile error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1

Help with "cannot alias an expression" compile error

2016-09-19 Thread Jacob Carlborg via Digitalmars-d-learn
I'm trying to do some form of reflection abstraction, here's my sample code: import std.meta; struct Fields(T) { private static alias toField(alias e) = Field!(__traits(identifier, e)); alias fields = staticMap!(toField, T.tupleof); static alias map(alias F) = staticMap!(F,

Re: compile error while use `extern(C++, class)`

2016-08-18 Thread Lodovico Giaretta via Digitalmars-d-learn
On Thursday, 18 August 2016 at 16:19:41 UTC, Johan Engelen wrote: On Thursday, 18 August 2016 at 11:43:03 UTC, Lodovico Giaretta wrote: Which compiler version are you using? On DMD 2.071.0 this does not work. Note: this does work with LDC 1.1.0 even though it is based on DMD 2.071.

Re: compile error while use `extern(C++, class)`

2016-08-18 Thread Johan Engelen via Digitalmars-d-learn
On Thursday, 18 August 2016 at 11:43:03 UTC, Lodovico Giaretta wrote: On Thursday, 18 August 2016 at 11:11:10 UTC, mogu wrote: Compiler Error exactly. The minimal code is(dmd or ldc2 in ubuntu 16.04 lts): ``` extern (C++, struct) class A {} ``` Error: identifier expected for C++ namespace

Re: compile error while use `extern(C++, class)`

2016-08-18 Thread pineapple via Digitalmars-d-learn
On Thursday, 18 August 2016 at 11:43:03 UTC, Lodovico Giaretta wrote: On Thursday, 18 August 2016 at 11:11:10 UTC, mogu wrote: On Thursday, 18 August 2016 at 10:45:14 UTC, Lodovico Giaretta wrote: Which kind of error? An error message by the compiler? One by the linker? The compiler crashes?

Re: compile error while use `extern(C++, class)`

2016-08-18 Thread Lodovico Giaretta via Digitalmars-d-learn
On Thursday, 18 August 2016 at 11:11:10 UTC, mogu wrote: On Thursday, 18 August 2016 at 10:45:14 UTC, Lodovico Giaretta wrote: Which kind of error? An error message by the compiler? One by the linker? The compiler crashes? Compiler Error exactly. The minimal code is(dmd or ldc2 in ubuntu

Re: compile error while use `extern(C++, class)`

2016-08-18 Thread mogu via Digitalmars-d-learn
On Thursday, 18 August 2016 at 10:45:14 UTC, Lodovico Giaretta wrote: Which kind of error? An error message by the compiler? One by the linker? The compiler crashes? Compiler Error exactly. The minimal code is(dmd or ldc2 in ubuntu 16.04 lts): ``` extern (C++, struct) class A {} ```

compile error while use `extern(C++, class)`

2016-08-17 Thread mogu via Digitalmars-d-learn
From spec (Interfacing to C++) https://dlang.org/spec/cpp_interface.html: ``` When mapping a D class onto a C++ struct, use extern(C++, struct) to avoid linking problems with C++ compilers (notably MSVC) that distinguish between C++'s class and struct when mangling. Conversely, use

[Issue 15893] New: std.algorithm.each returns a misleading compile error

2016-04-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15893 Issue ID: 15893 Summary: std.algorithm.each returns a misleading compile error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity

[Issue 15766] New: extern(Objective-C) should result in compile error on OS X 32bit

2016-03-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15766 Issue ID: 15766 Summary: extern(Objective-C) should result in compile error on OS X 32bit Product: D Version: D2 Hardware: x86 OS: Mac OS X Status

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 --- 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/3d385e420a2daa6ad65aa4bbfcb27f582f3db60a Revert "Merge pull request

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-27 Thread via Digitalmars-d-bugs
Merge pull request #5368 from MartinNowak/fix15550 fix Issue 15550 - compile error while testing template constraint --

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

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

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 ponce changed: What|Removed |Added CC||alil...@gmail.com --- Comment #3

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 --- Comment #5 from ponce --- Found a work-around. --

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 --- Comment #4 from ponce --- - Still happen in DMD 2.071-b - Can't reproduce on Windows FWIW I could change the code, but I don't seem to find a workaround. I've tried std.traits.hasMember instead and it fails similarly. --

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 --- Comment #1 from Martin Nowak --- The bug boils down to this behavior change. cat > bug.d << CODE struct Vector(T, int N) { void opDispatch(string, U)(U) { } } static assert(!is(typeof(Vector!(int, 2)._isMatrix)));

[Issue 15550] [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 --- Comment #2 from Martin Nowak --- Introduced by https://github.com/D-Programming-Language/dmd/pull/5263. --

[Issue 15550] New: [Reg 2.070.0-b1] compile error while testing template constraint

2016-01-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15550 Issue ID: 15550 Summary: [Reg 2.070.0-b1] compile error while testing template constraint Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 12112] buildNormalizedPath compile error for wstring and dstring

2015-11-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12112 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: std.conv.to!string(array), strange compile error

2015-11-14 Thread BBaz via Digitalmars-d-learn
On Saturday, 14 November 2015 at 12:46:21 UTC, Relja wrote: I've got this strange compile error using std.conv.to!string(double[3]) - or any static array type. It's called in toString override function of a template matrix class, I'm building as a D learning project. [...] Maybe try to use

Re: std.conv.to!string(array), strange compile error

2015-11-14 Thread Relja via Digitalmars-d-learn
On Saturday, 14 November 2015 at 12:55:52 UTC, BBaz wrote: On Saturday, 14 November 2015 at 12:46:21 UTC, Relja wrote: I've got this strange compile error using std.conv.to!string(double[3]) - or any static array type. It's called in toString override function of a template matrix class, I'm

Re: std.conv.to!string(array), strange compile error

2015-11-14 Thread anonymous via Digitalmars-d-learn
On 14.11.2015 15:17, Relja wrote: - std.conv.to!string() works on a static array, when called directly on the array object, but gives the compile error when called on the returning object from a function. [...] void main() { getFloat3().to!string; // does not compile (new float[3

  1   2   3   >