Show errors for methods that are unused. (bug 6183)
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user