Introspection/Reflection/etc on Linux
J Arrizza
cppgent0 at gmail.com
Thu Nov 3 03:28:30 PDT 2011
PS, this version works and prints "10" for the length:
string id = "somestring";
auto rid = retro(id);
//writeln(rid.length);
writeln(rid.source.length);
On Thu, Nov 3, 2011 at 3:26 AM, J Arrizza <cppgent0 at gmail.com> wrote:
> Robert,
>
> This stub shows the issue:
>
> import std.stdio;
> import std.range;
>
> void main(string[] args)
> {
> string id = "somestring";
> auto rid = retro(id);
> writeln(rid.length);
> }
>
> $: dmd dtest.d
> dtest.d(8): Error: no property 'length' for type 'Result'
>
>
> I haven't applied either patch you mentioned below. Neither patch seems to
> address retro() or Result...
>
> John
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111103/fe50f58a/attachment.html>
More information about the Digitalmars-d
mailing list