VibeD - undefinded identifier

holo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 23 09:37:19 PDT 2017


On Sunday, 23 July 2017 at 16:27:40 UTC, Mike Parker wrote:
> On Sunday, 23 July 2017 at 15:23:25 UTC, holo wrote:
>
>>   this(auto tmp)
>
> You need to specify a type here instead of using auto.

Thanks for reply i fix it. But right now im getting:

../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/http/server.d(286,33): Deprecation: alias diet.traits.FilterCallback is deprecated - Use SafeFilterCallback instead.
source/service/frontpage.d(28,30): Error: template 
std.array.byPair cannot deduce function from argument types 
!()(MongoCursor!(Bson, Bson, typeof(null))), candidates are:
/usr/include/dlang/dmd/std/array.d(419,6):        
std.array.byPair(Key, Value)(Value[Key] aa)
source/service/frontpage.d(21,10): Error: function 
frontpage.FrontPageAPI.getHome no return exp; or assert(0); at 
end of function



More information about the Digitalmars-d-learn mailing list