[Issue 20138] New: is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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:

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 4699] Functions in peer scopes cannot have the same name

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4699 Simen Kjaeraas changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 4894] Cannot use the same name for nested functions even though they're in different scopes

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4894 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 20139] New: isInputRange!string is false in betterC

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20138 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @aG0aep6

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20138 ag0aep6g changed: What|Removed |Added CC||ag0ae...@gmail.com --

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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)[])!!

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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? --

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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... --

[Issue 12795] atomicLoad allows unsafe removal of shared from class references

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12795 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 16230] core.atomic.atomicLoad removes shared from aggregate types too eagerly

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16230 ag0aep6g changed: What|Removed |Added CC||kirsy...@gmail.com --- Comment #7 from ag0aep6g

[Issue 20140] New: std.string.tr should not be decoding strings

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 18908] Cannot pass concurrency message with a shared and a const, useless error message

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18908 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6269] aliasing in IsExpression doesn't work when used inside a template constraint

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6269 ag0aep6g changed: What|Removed |Added CC||jason.james.ho...@gmail.com --- Comment #4 from ag

[Issue 3750] Template specialization based on shared doesn't seem to work

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3750 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4160] Template function lookup should match non-template behavior for implicit conversion to shared params

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4160 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8944] Loosing const from shared const type when unqualifying in foreach over tuple

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8944 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 2573] [Tracker] Data integrity issues

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 9707] Template argument deduction does not work with static methods of shared class

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9707 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9707] Template argument deduction does not work with static methods of shared class

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9707 ag0aep6g changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #2 from ag0aep6g -

[Issue 10645] Wrong codegen for shared struct with constructor and pass to atomicLoad

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10645 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 20138] is expression not evaluating correctly?

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

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 20141] New: No builtin version which says if the platform is 64bit

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 20126] codegen reloads parameter from register when iasm changed the backing memory

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20126 --- Comment #2 from Manu --- **Bug report. --

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20138 --- Comment #11 from Manu --- **Bug report. --

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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. --

[Issue 20138] is expression not evaluating correctly?

2019-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
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