Show errors for methods that are unused. (bug 6183)

This commit is contained in:
David Anderson
2014-07-12 10:28:29 -07:00
parent 9e1fef9775
commit 5dd5b5131b
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"