www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22945] New: [Conditional Compilation] support invariant

https://issues.dlang.org/show_bug.cgi?id=22945

          Issue ID: 22945
           Summary: [Conditional Compilation] support invariant version
                    flag
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: jlourenco5691 gmail.com

This is a follow-up from https://issues.dlang.org/show_bug.cgi?id=22278. An
existent Phobos unit test that can benefit from this is:
https://github.com/dlang/phobos/blob/12b78bdebfe5ba55f3717f5ae1a5c81be8bac337/std/sumtype.d#L1275-L1290

--
Mar 27 2022