digitalmars.D.bugs - [Issue 18099] New: betterC check throw statements error!
- d-bugmail puremagic.com (30/30) Dec 17 2017 https://issues.dlang.org/show_bug.cgi?id=18099
https://issues.dlang.org/show_bug.cgi?id=18099 Issue ID: 18099 Summary: betterC check throw statements error! Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: changlon gmail.com ============ code ============== struct TypePool { struct SliceType { this(SliceType ) {} ~this() {} } struct { auto slice(){ SliceType _slice ; return _slice ; } } } ================================ dmd -betterC app.d Error: Cannot use throw statements with -betterC --
Dec 17 2017