July 01, 2022
https://issues.dlang.org/show_bug.cgi?id=23226

          Issue ID: 23226
           Summary: druntime does not compile with -preview=nosharedaccess
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: atila.neves@gmail.com

Trying to compile druntime with -preview=nosharedaccess fails miserably. There are several issues, but dustmite reduces dmd commit 4513d32447ddb1221581dd555b04851db6ec8afd to the following code from core.bitop:

struct BitRange {
    const(size_t) bits;
    this(const(size_t)) {
        bits++ ;
    }
}

N softBitswap()() {
}

--