digitalmars.D.bugs - [Issue 15922] New: DMD segfault in functionParameters()
- via Digitalmars-d-bugs (33/33) Apr 13 2016 https://issues.dlang.org/show_bug.cgi?id=15922
https://issues.dlang.org/show_bug.cgi?id=15922 Issue ID: 15922 Summary: DMD segfault in functionParameters() Product: D Version: D2 Hardware: x86_64 URL: https://gist.github.com/Hackerpilot/ba992214296597698a 2c455dbf4abaff OS: Linux Status: NEW Keywords: ice-on-invalid-code, industry Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: briancschott gmail.com Dmd segfaults when compiling this code: template StorageAttributes(Store) { enum hasInsertMethod = Store.insert; enum hasFullSlice = Store.init[]; } struct ValidSparseDataStore(DataT) { DataT insert() { correctedInsert!(false); } DataT correctedInsert(bool CorrectParents)() {} auto opSlice() inout {} } alias BasicCubeT = StorageAttributes!(ValidSparseDataStore!int); --
Apr 13 2016