[Issue 15265] [Visual D]

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Oct 30 04:17:21 PDT 2015


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

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
sample code to test:

import std.path;

void main () {
  string temp = "temppath";
  temp = std.path.buildPath(temp, "boo.foo");
}


it compiles without "-property", but gives errors with it:

src/phobos/std/path.d(1432): Error: not a property r1[0..pos].byUTF!char
src/phobos/std/path.d(1432): Error: not a property r2.byUTF!char
src/phobos/std/path.d(1233): Error: template instance
std.path.chainPath!(char[], const(char)[], ) error instantiating
src/phobos/std/path.d(1251):        instantiated from here:
buildPath!(const(char)[][])
z10.d(5):        instantiated from here: buildPath!char

--


More information about the Digitalmars-d-bugs mailing list