https://issues.dlang.org/show_bug.cgi?id=24187
--- Comment #9 from Walter Bright ---
It compiles without error if `Float32` is replaced with `float`.
--
https://issues.dlang.org/show_bug.cgi?id=24187
--- Comment #8 from Walter Bright ---
The two lines:
extern _Complex _Float32 cacosf32 (_Complex _Float32 __z) __attribute__
((__nothrow__ , __leaf__)); extern _Complex _Float32 __cacosf32 (_Complex
_Float32 __z) __attribute__ ((__nothrow__ ,
https://issues.dlang.org/show_bug.cgi?id=20920
--- Comment #5 from mw ---
wrong operation, this is for issue #24187
--
https://issues.dlang.org/show_bug.cgi?id=24187
--- Comment #7 from mw ---
Created attachment 1897
--> https://issues.dlang.org/attachment.cgi?id=1897=edit
reduced to 2 lines: s2.i
--
https://issues.dlang.org/show_bug.cgi?id=20920
--- Comment #4 from mw ---
Created attachment 1896
--> https://issues.dlang.org/attachment.cgi?id=1896=edit
reduced to 2 lines: s2.i
--
https://issues.dlang.org/show_bug.cgi?id=24187
--- Comment #6 from mw ---
Haha, I made it: 2 lines!
$ cat s2.i
extern _Complex _Float32 cacosf32 (_Complex _Float32 __z) __attribute__
((__nothrow__ , __leaf__)); extern _Complex _Float32 __cacosf32 (_Complex
_Float32 __z) __attribute__
https://issues.dlang.org/show_bug.cgi?id=24193
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=24208
Paul Backus changed:
What|Removed |Added
Summary|[DIP1000] Nested function |[DIP1000] Scope pointer can
https://issues.dlang.org/show_bug.cgi?id=24209
Issue ID: 24209
Summary: static aa initialization of static function variable
ICE
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=24193
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #3 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=24193
--- Comment #2 from Walter Bright ---
Not specific to C, it equally affects D.
--
https://issues.dlang.org/show_bug.cgi?id=24193
Walter Bright changed:
What|Removed |Added
Summary|A size of unions with |Incorrect size of unions
https://issues.dlang.org/show_bug.cgi?id=24208
Paul Backus changed:
What|Removed |Added
Summary|[DIP1000] Nested function |[DIP1000] Nested function
https://issues.dlang.org/show_bug.cgi?id=24208
--- Comment #3 from Paul Backus ---
Disregard previous example, I read the errors wrong. They occur in the function
bodies, not at the call site. The parameter of `escape` is not allowed to
escape at all if it is `scope`, even `return scope`.
--
https://issues.dlang.org/show_bug.cgi?id=24208
--- Comment #2 from Paul Backus ---
...or maybe the problem is that it's being incorrectly inferred as `scope`
instead of `return scope`.
Another example:
---
void main() @safe
{
int* escaped;
void escape1(int* p) @safe
{
https://issues.dlang.org/show_bug.cgi?id=24208
Paul Backus changed:
What|Removed |Added
Summary|[DIP1000] Nested function |[DIP1000] Nested function
https://issues.dlang.org/show_bug.cgi?id=24208
--- Comment #1 from Paul Backus ---
Actually, it turns out the second function is not necessary:
---
void main() @safe
{
int* escaped;
void escape(int* p) @safe
{
escaped = p;
}
int n;
escape();
assert(escaped
https://issues.dlang.org/show_bug.cgi?id=24208
Paul Backus changed:
What|Removed |Added
Keywords||accepts-invalid, safe
--
https://issues.dlang.org/show_bug.cgi?id=24208
Issue ID: 24208
Summary: [DIP1000] Nested function can pass scope pointer to
non-scope parameter
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=24207
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=23780
--- Comment #2 from Paul Backus ---
Unfortunately this will probably be tricky to fix, because a lot of valid code
gets lowered to `obj.__ctor` internally by the DMD frontend.
--
https://issues.dlang.org/show_bug.cgi?id=19270
Basile-z changed:
What|Removed |Added
CC||b2.t...@gmx.com
--- Comment #4 from Basile-z
https://issues.dlang.org/show_bug.cgi?id=24207
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=24207
Issue ID: 24207
Summary: std.parallelism: AbstractTask private data is
inadvertently available
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=19270
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
--- Comment #3 from Nick
https://issues.dlang.org/show_bug.cgi?id=24206
Issue ID: 24206
Summary: Can't alias a function type that returns a type with a
TypeSuffix
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status:
https://issues.dlang.org/show_bug.cgi?id=24158
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=24187
--- Comment #5 from Walter Bright ---
Thank you. What would be even more helpful would be to cut it down to just what
produces the error!
--
https://issues.dlang.org/show_bug.cgi?id=24193
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #1
29 matches
Mail list logo