method has no return statement with switch

BBaz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 6 22:02:47 PST 2015


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 !


More information about the Digitalmars-d-learn mailing list