Merge pull request #91 from alliedmodders/bug-6183

Show errors for methods that are unused. (bug 6183)
This commit is contained in:
David Anderson
2014-07-13 11:24:51 -07:00
7 changed files with 32 additions and 3 deletions
@@ -0,0 +1,13 @@
methodmap Duck
{
public void MyFunc()
{
// this will compile fine until this function is used elsewhere in code
ThisFuncDoesntExist();
}
};
public OnPluginStart()
{
}
@@ -0,0 +1 @@
(6) : error 017: undefined symbol "ThisFuncDoesntExist"