Check that matched symbol is always a FuncDeclaration
Merge pull request #2016 from yebblies/checkassumption

[DDMD] Check that matched symbol is always a FuncDeclaration