To repro:
struct S {
immutable char* path;
@disable this();
this(immutable(char)* path) {
this.path = path;
}
}
immutable S CONST_S = S("/tmp".ptr);
Compiling this yields:
core.exception.AssertError@ddmd/ctfeexpr.d(413): Assertion failure
followed by a stack trace.