[Issue 18099] New: betterC check throw statements error!
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 18 04:13:40 UTC 2017
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 at puremagic.com
Reporter: changlon at 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
--
More information about the Digitalmars-d-bugs
mailing list