method has no return statement with switch
crimaniak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Nov 7 00:45:42 PST 2015
On Saturday, 7 November 2015 at 06:02:49 UTC, BBaz wrote:
> On Saturday, 7 November 2015 at 00:21:57 UTC, crimaniak wrote:
>> [...]
>> url.Cache.UrlCache.doRequest has no return statement, but is
>> expected to return a value of type string
>> [...]
>> public string doRealRequest(string url, Method method)
>
>
> You posted the wrong code sample: your code shows doRealRequest
> but the message is about doRequest !
Yes! It's just my inattention. Thanks!
p.s. Don't program at 3 am
More information about the Digitalmars-d-learn
mailing list