[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17289

--- Comment #6 from Walter Bright  ---
https://github.com/dlang/dmd/pull/6721

--


[Issue 17342] New: dconf.org https does not work

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17342

  Issue ID: 17342
   Summary: dconf.org https does not work
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: minor
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: sahmi.soulaim...@gmail.com

this issue is about dconf.org not dlang.org but there no option for that.
I have a browser extension on my browser that enforces https on every site, and
when i visit donf.org it says that the certificate is expired (since 2014) and
when i ignore that and procede is says 503 forbidden only when i disable the
extension temporarily and visit the site through http the site works.

--


[Issue 17339] ambiguous mangling with const alias argument

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17339

Martin Nowak  changed:

   What|Removed |Added

Summary|ambiguous mangling with |ambiguous mangling with
   |module level const values   |const alias argument
   |as alias template argument  |

--


[Issue 17341] Partial initialization of static array should not be allowed

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17341

--- Comment #1 from b2.t...@gmx.com ---
(In reply to b2.temp from comment #0)
> In this example:
> 
> ```
> enum E{e0,e1,e2}
> static immutable int[E.max + 1]  a = [0,1]; // oops no 3rd element
> static assert(isStaticArray!(typeof(a))); // no detected
> ```

The static assert should be

static assert(a.length == E.max + 1); // not detected

--


[Issue 17341] New: Partial initialization of static array should not be allowed

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17341

  Issue ID: 17341
   Summary: Partial initialization of static array should not be
allowed
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: b2.t...@gmx.com

In this example:

```
enum E{e0,e1,e2}
static immutable int[E.max + 1]  a = [0,1]; // oops no 3rd element
static assert(isStaticArray!(typeof(a))); // no detected
```

we use an enum to define the size of a static array. The ArrayInitializer only
sets the 2 first elements and nothing allows to statically check the omission
(that could happen for example when adding new members to an enum).

Two possible actions:
- The compiler could emit a warning for this case.
- Deprecate "partial initialization of static arrays" and update the
specifications.

--


[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17289

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #5 from Walter Bright  ---
> address 0x10003A8BB

Well, 0xB, i.e. 11, is certainly not aligned.

--


[Issue 17339] ambiguous mangling with module level const values as alias template argument

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17339

uplink.co...@googlemail.com changed:

   What|Removed |Added

 CC||uplink.co...@googlemail.com

--- Comment #2 from uplink.co...@googlemail.com ---
Instances should be merged!

--


[Issue 4508] tuples should be indexable with foreach over range

2017-04-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4508

--- Comment #4 from Nick Treleaven  ---
In that case, perhaps we could use `static foreach` as in comment 1.

--