Summary: hasAliasing does not care about immutable
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Phobos

--- Comment #0 from Simen Kjaeraas <> 2010-05-22 17:41:32 
PDT ---
class A {}

static assert( hasAliasing!( immutable A ) );

The above code compiles. According to documentation, hasAliasing should return
false for immutable references.

In addition, documentation uses the word invariant.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to