Issue 13194 - ICE when static class members initialized to void
Summary: ICE when static class members initialized to void
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: ice, pull
Depends on:
Blocks:
 
Reported: 2014-07-23 08:15 UTC by Ketmar Dark
Modified: 2014-07-23 10:04 UTC (History)
1 user (show)

See Also:


Attachments
bugfix (734 bytes, patch)
2014-07-23 08:15 UTC, Ketmar Dark
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Ketmar Dark 2014-07-23 08:15:48 UTC
Created attachment 1370 [details]
bugfix

this code segfaults current DMD:

module zzz;

class A {
  static Object obj = void;
}


but it works without "= void".

bugfix attached.
Comment 1 Ketmar Dark 2014-07-23 08:33:58 UTC
PR is here: https://github.com/D-Programming-Language/dmd/pull/3802