https://issues.dlang.org/show_bug.cgi?id=24356
--- Comment #1 from Carl Sturtivant ---
Created attachment 1904
--> https://issues.dlang.org/attachment.cgi?id=1904&action=edit
Work around for goto case CTFE bug
Shows that goto case does work with the computed label.
--
https://issues.dlang.org/show_bug.cgi?id=24356
Issue ID: 24356
Summary: goto case label not correctly generated by CTFE
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=24355
--- Comment #2 from ryuukk_ ---
I expect the same as:
```
void main()
{
char[32] id = "hello";
}
```
left: static array
right: slice
result: slice -> copy -> [0 .. slice.length]
--
https://issues.dlang.org/show_bug.cgi?id=24355
--- Comment #1 from anonymous4 ---
In case 1 it's unclear what you want, it can be id[0..6]=str[0..6] or
id[0..6]=str[0..6],id[6..12]=str[0..6],... - pattern copy.
--
https://issues.dlang.org/show_bug.cgi?id=24343
--- Comment #1 from anonymous4 ---
TypeInfo could have a member
---
byte pattern;
---
so that struct S { char[100] x; } (sockaddr_un?) could still be initialized
with memset.
--
https://issues.dlang.org/show_bug.cgi?id=24355
ryuukk_ changed:
What|Removed |Added
Summary|Slice copy with static |Slice copy with static
|arrays i
https://issues.dlang.org/show_bug.cgi?id=24355
Issue ID: 24355
Summary: Slice copy with static arrays incorrect of bounds
checking
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW