[Issue 22365] Compiler crash: tcs.body_ null in StatementSemanticVisitor.visit(TryCatchStatement) in semantic3 pass (dmd/statementsem.d:3956)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 12 20:38:48 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22365
moonlightsentinel at disroot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |moonlightsentinel at disroot.o
| |rg
Hardware|x86_64 |All
OS|Windows |All
--- Comment #3 from moonlightsentinel at disroot.org ---
Reduction:
alias DrawableRef = Ref!int;
class DrawableCache {
DrawableRef _nullDrawable;
this() {
debug Log;
}
}
struct Ref(T) {
~this() {
}
}
Requires -preview=dtorfields with older compilers.
--
More information about the Digitalmars-d-bugs
mailing list