https://issues.dlang.org/show_bug.cgi?id=18560
FeepingCreature changed:
What|Removed |Added
Severity|enhancement |normal
--
https://issues.dlang.org/show_bug.cgi?id=18560
Issue ID: 18560
Summary: find on infinite ranges is broken
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priorit
https://issues.dlang.org/show_bug.cgi?id=18551
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/89243bdc93ef220f85e53d18a0c8521fc43afead
Fix Issue 18551 - Improve hint for does not override any funct
https://issues.dlang.org/show_bug.cgi?id=18560
--- Comment #1 from FeepingCreature ---
The actual problem seems to be that expression.empty actually presumes that
expression terminates. So when .all checks for find.empty, it fails to account
for the case that find does not terminate, in which sit
https://issues.dlang.org/show_bug.cgi?id=18560
--- Comment #2 from FeepingCreature ---
No, this is the actual problem!
struct Struct
{
enum Enum = 5;
}
bool fooEvaluated;
Struct foo() { fooEvaluated = true; return Struct(); }
assert(foo().Enum == 5);
assert(fooEvaluated == true);
Should
https://issues.dlang.org/show_bug.cgi?id=18561
Issue ID: 18561
Summary: postblit behaves inconsistently with constants
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=18562
Issue ID: 18562
Summary: expression is not evaluated when accessing manifest
constant
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=18560
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||wrong-code
CC|
https://issues.dlang.org/show_bug.cgi?id=18357
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ajiesk...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=18561
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=18561
Steven Schveighoffer changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
https://issues.dlang.org/show_bug.cgi?id=18561
Steven Schveighoffer changed:
What|Removed |Added
Hardware|x86 |All
OS|Windows
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #23 from Andrei Alexandrescu ---
(In reply to Tomer Filiba (weka) from comment #21)
> Walter, the @safe-ty aspects of the issue are one thing. In real code, @safe
> is hardly workable, i.e.
>
> void main() {
> int x;
> writeln(&x
https://issues.dlang.org/show_bug.cgi?id=18562
FeepingCreature changed:
What|Removed |Added
Keywords||wrong-code
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #24 from Tomer Filiba (weka) ---
> We should address this situation by having writeln take scope inputs. It does
> not escape any pointers.
So... more special cases?
> I think immovability is a red herring. The problem is a pointer is e
https://issues.dlang.org/show_bug.cgi?id=18563
Issue ID: 18563
Summary: context pointer inside structs constness problems
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #25 from Andrei Alexandrescu ---
(In reply to Tomer Filiba (weka) from comment #24)
> > We should address this situation by having writeln take scope inputs. It
> > does
> > not escape any pointers.
>
> So... more special cases?
That's
https://issues.dlang.org/show_bug.cgi?id=18561
--- Comment #3 from anonymous4 ---
This passes:
---
struct A
{
int a;
this(int b) const { a=b; }
}
int main()
{
const A a;
assert(a.a==0,"0");
a.__ctor(1);
assert(a.a==1,"1");
return 0;
}
---
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #26 from Eyal ---
What solution is there for this use-case then?
We need objects to register themselves (i.e: set out-of-scope pointers to point
at them) and RAII-wise have them de-register themselves. While they are
registered, we need
https://issues.dlang.org/show_bug.cgi?id=1985
--- Comment #11 from anonymous4 ---
I think it's better to replace import expression with intrinsic, say,
importText (like std.file.readText). This will also reduce grammar complexity
and remove second and rarely used meaning from the import keyword.
https://issues.dlang.org/show_bug.cgi?id=1985
anonymous4 changed:
What|Removed |Added
Keywords||spec
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #27 from Tomer Filiba (weka) ---
(In reply to Andrei Alexandrescu from comment #25)
> > So... more special cases?
>
> That's a straight use of scope per DIP 1000, in fact the very design intent:
> scope in a function signature specifies
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #28 from Tomer Filiba (weka) ---
My point is, @safe is so constrained that it's practically unusable, so I don't
consider it a viable solution for this problem.
--
https://issues.dlang.org/show_bug.cgi?id=17448
Jonathan M Davis changed:
What|Removed |Added
CC||issues.dl...@jmdavisprog.co
https://issues.dlang.org/show_bug.cgi?id=18134
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|-
https://issues.dlang.org/show_bug.cgi?id=18134
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/b211347454b70fdb5a539f3fd8bc82fcec846e70
Fix issue 18134 - BitArray right shift broken if length
https://issues.dlang.org/show_bug.cgi?id=9983
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
Severity|normal
https://issues.dlang.org/show_bug.cgi?id=18561
--- Comment #4 from ajiesk...@gmail.com ---
(In reply to anonymous4 from comment #3)
> This passes:
> ---
> struct A
> {
> int a;
> this(int b) const { a=b; }
> }
> int main()
> {
> const A a;
> assert(a.a==0,"0");
> a.__ctor(1);
>
https://issues.dlang.org/show_bug.cgi?id=18561
--- Comment #5 from Steven Schveighoffer ---
(In reply to anonymous4 from comment #3)
> a.__ctor(1);
This is another bug. One should only be able to call const __ctor on a struct
once, before using it.
--
https://issues.dlang.org/show_bug.cgi?id=18564
Issue ID: 18564
Summary: core.demangle exception Range violation
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
https://issues.dlang.org/show_bug.cgi?id=18564
johanenge...@weka.io changed:
What|Removed |Added
Keywords||industry
CC|
https://issues.dlang.org/show_bug.cgi?id=18564
johanenge...@weka.io changed:
What|Removed |Added
Keywords||mangling
--
https://issues.dlang.org/show_bug.cgi?id=18541
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #30 from Andrei Alexandrescu ---
Indeed it seems we are not supporting registration by address with ease for D
value types.
There are good reasons for that; by allowing value types to be moved around we
avoid a swath of complications and
https://issues.dlang.org/show_bug.cgi?id=18565
Issue ID: 18565
Summary: std.regex Captures opAssign returns void since
v2.079.0
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Se
https://issues.dlang.org/show_bug.cgi?id=18560
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=18562
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=18541
--- Comment #9 from Ketmar Dark ---
compiler transforms `==` for objects to virtual call, and dmd cannot
devirtualize calls (yet? ;-). so yeah, no inlining.
it is quite possible to rewrite the call into `e1 is e1 || .object.opEquals(e1,
e2)`, tho.
https://issues.dlang.org/show_bug.cgi?id=18563
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=18566
Issue ID: 18566
Summary: const on method of nested data type is not applied to
variables in context
Product: D
Version: D2
Hardware: All
OS: All
Statu
https://issues.dlang.org/show_bug.cgi?id=18567
Issue ID: 18567
Summary: immutability hole related to context pointers accessed
through const pure methods
Product: D
Version: D2
Hardware: All
OS: All
https://issues.dlang.org/show_bug.cgi?id=18542
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=18564
--- Comment #1 from Rainer Schuetze ---
Did you try latest dmd master? There have been a couple of recent fixes that
look similar, e.g. https://issues.dlang.org/show_bug.cgi?id=18300 and
https://issues.dlang.org/show_bug.cgi?id=18208.
--
https://issues.dlang.org/show_bug.cgi?id=18557
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--- Comment #3 from Ke
https://issues.dlang.org/show_bug.cgi?id=17961
--- Comment #11 from Carsten Blüggel ---
(In reply to hsteoh from comment #10)
> Link: https://github.com/dlang/phobos/pull/6041
Due to lack of acceptance I closed PR
https://github.com/dlang/phobos/pull/6041.
Maybe https://github.com/dlang/phobos/p
https://issues.dlang.org/show_bug.cgi?id=14242
Mike Franklin changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
46 matches
Mail list logo