https://issues.dlang.org/show_bug.cgi?id=20138
Issue ID: 20138
Summary: is expression not evaluating correctly?
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority:
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #1 from Manu ---
alias X = shared int;
pragma(msg, X, " ", is(X == shared U, U), " ", U));
> shared(int) true int
alias X = shared inout int;
pragma(msg, X, " ", is(X == shared U, U), " ", U));
> shared(inout(int)) fa
https://issues.dlang.org/show_bug.cgi?id=4699
Simen Kjaeraas changed:
What|Removed |Added
CC||issues.dl...@jmdavisprog.co
https://issues.dlang.org/show_bug.cgi?id=4894
Simen Kjaeraas changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=20139
Issue ID: 20139
Summary: isInputRange!string is false in betterC
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
https://issues.dlang.org/show_bug.cgi?id=20138
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Dlang Bot ---
@aG0aep6
https://issues.dlang.org/show_bug.cgi?id=20138
ag0aep6g changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #3 from Dlang Bot ---
@aG0aep6G created dlang/phobos pull request #7147 "prepare for fix of issue
20138 ("is expression not evaluating correct…" mentioning this issue:
- prepare for fix of issue 20138 ("is expression not evaluating corre
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #4 from Manu ---
Is this another construction of the same issue, or is it a similar but
unrelated issue?
T fun(T)(shared(T) a)
{
return a;
}
shared const int[] x;
pragma(msg, typeof(fun(x)));
> const(shared(int)[])!!
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #5 from Manu ---
In my example above, it's weird that `shared` surrounds `int`, but `const`
surrounds `int[]`... why are they applied at different levels?
--
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #6 from ag0aep6g ---
(In reply to Manu from comment #4)
> T fun(T)(shared(T) a)
> {
> return a;
> }
> shared const int[] x;
> pragma(msg, typeof(fun(x)));
>
> > const(shared(int)[])!!!
>
> `T` should be typeof(x) but
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #7 from Manu ---
Oh yeah; I confused myself when I didn't spot the placement of the parens
initially.
Ignore that post...
--
https://issues.dlang.org/show_bug.cgi?id=12795
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=16230
ag0aep6g changed:
What|Removed |Added
CC||kirsy...@gmail.com
--- Comment #7 from ag0aep6g
https://issues.dlang.org/show_bug.cgi?id=20140
Issue ID: 20140
Summary: std.string.tr should not be decoding strings
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
P
https://issues.dlang.org/show_bug.cgi?id=18908
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=6269
ag0aep6g changed:
What|Removed |Added
CC||jason.james.ho...@gmail.com
--- Comment #4 from ag
https://issues.dlang.org/show_bug.cgi?id=3750
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=4160
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=8944
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=2573
Issue 2573 depends on issue 8944, which changed state.
Issue 8944 Summary: Loosing const from shared const type when unqualifying in
foreach over tuple
https://issues.dlang.org/show_bug.cgi?id=8944
What|Removed |Add
https://issues.dlang.org/show_bug.cgi?id=9707
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=9707
ag0aep6g changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #2 from ag0aep6g -
https://issues.dlang.org/show_bug.cgi?id=10645
ag0aep6g changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=20138
Simen Kjaeraas changed:
What|Removed |Added
CC||simen.kja...@gmail.com
--- Comment #8 from
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #9 from ag0aep6g ---
(In reply to Simen Kjaeraas from comment #8)
> is(shared const int : shared U, U) does evaluate to true, and U is const
> int. Can you elaborate on why that's not good enough?
That seems like a viable workaround, hin
https://issues.dlang.org/show_bug.cgi?id=20141
Issue ID: 20141
Summary: No builtin version which says if the platform is 64bit
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=20126
--- Comment #2 from Manu ---
**Bug report.
--
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #11 from Manu ---
**Bug report.
--
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #10 from Manu ---
I already have workarounds. I'm making a big report, because this seems to be a
bug.
--
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #12 from Dlang Bot ---
dlang/phobos pull request #7147 "prepare for fix of issue 20138 ("is expression
not evaluating correct…" was merged into master:
- dc5e22944a048fb3a81f31875bcaa3c1adbb87ef by aG0aep6G:
prepare for fix of issue 20
31 matches
Mail list logo