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
ods should raise a compile error
https://github.com/dlang/dmd/pull/15350
--
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
--
https://issues.dlang.org/show_bug.cgi?id=17235
johanenge...@weka.io changed:
What|Removed |Added
CC||johanenge...@weka.io
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=17235
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=11455
Basile-z changed:
What|Removed |Added
Keywords||diagnostic
CC|
https://issues.dlang.org/show_bug.cgi?id=20876
RazvanN changed:
What|Removed |Added
CC||alphaglosi...@gmail.com
--- Comment #8 from
|--- |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
---
@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
--
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
https://issues.dlang.org/show_bug.cgi?id=11455
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P3
--
https://issues.dlang.org/show_bug.cgi?id=17821
Iain Buclaw changed:
What|Removed |Added
Priority|P3 |P4
--
https://issues.dlang.org/show_bug.cgi?id=17235
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P3
--
https://issues.dlang.org/show_bug.cgi?id=21049
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P3
--
https://issues.dlang.org/show_bug.cgi?id=15766
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P3
--
https://issues.dlang.org/show_bug.cgi?id=15893
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P4
--
https://issues.dlang.org/show_bug.cgi?id=17821
Stanislav Blinov changed:
What|Removed |Added
CC||stanislav.bli...@gmail.com
--- Comment
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
--
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
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. ***
--
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
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
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.
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
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
>
https://issues.dlang.org/show_bug.cgi?id=20876
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #4 from
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) { }
https://issues.dlang.org/show_bug.cgi?id=20876
kinke changed:
What|Removed |Added
CC||ki...@gmx.net
--- Comment #2 from kinke ---
(In
https://issues.dlang.org/show_bug.cgi?id=20876
moonlightsenti...@disroot.org changed:
What|Removed |Added
CC||moonlightsentinel@disroot.o
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
https://issues.dlang.org/show_bug.cgi?id=11728
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
https://issues.dlang.org/show_bug.cgi?id=17984
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
https://issues.dlang.org/show_bug.cgi?id=12112
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
https://issues.dlang.org/show_bug.cgi?id=15766
Walter Bright changed:
What|Removed |Added
Keywords||objc
CC|
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.
--
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.
--
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
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
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
https://issues.dlang.org/show_bug.cgi?id=20137
Simen Kjaeraas changed:
What|Removed |Added
CC||simen.kja...@gmail.com
--- Comment #6 from
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
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?
--
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
https://issues.dlang.org/show_bug.cgi?id=20137
anonymous4 changed:
What|Removed |Added
Keywords||safe
Status|NEW
https://issues.dlang.org/show_bug.cgi?id=20137
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
Component|dmd
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
https://issues.dlang.org/show_bug.cgi?id=11455
Basile-z changed:
What|Removed |Added
CC||riddlermich...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=17984
Basile B. changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
https://issues.dlang.org/show_bug.cgi?id=19083
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
--- Comment #1 from Seb ---
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
https://issues.dlang.org/show_bug.cgi?id=13741
Basile B. changed:
What|Removed |Added
CC||b2.t...@gmx.com
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
https://issues.dlang.org/show_bug.cgi?id=18753
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=18753
--- Comment #1 from RazvanN ---
PR : https://github.com/dlang/dmd/pull/8161
--
https://issues.dlang.org/show_bug.cgi?id=18753
RazvanN changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=18753
hst...@quickfur.ath.cx changed:
What|Removed |Added
Keywords||ice
--
https://issues.dlang.org/show_bug.cgi?id=18753
hst...@quickfur.ath.cx changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=18753
hst...@quickfur.ath.cx changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
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
https://issues.dlang.org/show_bug.cgi?id=16965
greenify changed:
What|Removed |Added
Status|NEW |RESOLVED
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.
--
https://issues.dlang.org/show_bug.cgi?id=17984
Jonathan Marler changed:
What|Removed |Added
CC|
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
https://issues.dlang.org/show_bug.cgi?id=11728
Basile B. changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
Oh, struct/class semantics really confuses me!
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
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);
|atomicStore is buggy when |atomicStore compile error
|target is larger than |when target is larger than
|source |source
--
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
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
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
https://issues.dlang.org/show_bug.cgi?id=17235
Johan Engelen changed:
What|Removed |Added
Keywords||industry
--
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
https://issues.dlang.org/show_bug.cgi?id=16965
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
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
--
https://issues.dlang.org/show_bug.cgi?id=16965
rdirect...@gmail.com changed:
What|Removed |Added
URL||https://github.com/dlang/to
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
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,
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.
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
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?
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
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 {}
```
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
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
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
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
Merge pull request #5368 from MartinNowak/fix15550
fix Issue 15550 - compile error while testing template constraint
--
https://issues.dlang.org/show_bug.cgi?id=15550
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15550
ponce changed:
What|Removed |Added
CC||alil...@gmail.com
--- Comment #3
https://issues.dlang.org/show_bug.cgi?id=15550
--- Comment #5 from ponce ---
Found a work-around.
--
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.
--
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)));
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.
--
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
https://issues.dlang.org/show_bug.cgi?id=12112
bb.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
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
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 - 100 of 243 matches
Mail list logo