https://d.puremagic.com/issues/show_bug.cgi?id=5342
Peter Alexander <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #1 from Peter Alexander <[email protected]> 2014-01-25 13:56:06 PST --- (In reply to comment #0) > Essentially, the ElementType! of all strings is a mutable dchar, even if the > string itself is immutable. This means that generic code, like > isAssignable!(ElementType!string, ElementType!string) passes when it > shouldn't. I don't believe this is an issue. The element type of a string *is* dchar, and that type *is* assignable. If you want to know if a range's elements can be assigned to then "hasAssignableElements!R" can be used. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
