 -                        when (parent2) {
 -                            is LuaClassMethodDef -> "${parent2.classMethodName.text}${parent2.paramSignature}"
 -                            is LuaClosureExpr -> "function${parent2.paramSignature}"
+-                            is LuaFuncDef -> "function${parent2.paramSignature}"
 -                            is LuaLocalFuncDef -> "local function ${parent2.name}"
 -                            else -> "<?>"
 -                        }

-
-}
\ No newline at end of file
diff --git a/src/main/java/com/tang/intellij/lua/project/LuaAdditionalSourcesRootPanel.kt b/src/main/java/com/tang/intellij/lua/project/LuaAdditionalSourcesRootPanel.kt
index 059b0cae..5800ef83 100644
--- a/src/main/java/com/tang/intellij/lua/project/LuaAdditionalSourcesRootPanel.kt
+++ b/src/main/java/com/tang/intellij/lua/project/LuaAdditionalSourcesRootPanel.kt
@@ -28,7 +28,7 @@ import javax.swing.ListSelectionModel
 
 class LuaAdditionalSourcesRootPanel : JPanel(BorderLayout()) {
     private val dataModel = DefaultListModel<String>()
-    private val pathList = JBList(dataModel)
+    private val pathList = JBList<String>(dataModel)
     init {
         pathList.selectionMode = ListSelectionModel.SINGLE_SELECTION
 
diff --git a/src/main/java/com/tang/intellij/lua/project/LuaModuleType.kt b/src/main/java/com/tang/intellij/lua/project/LuaModuleType.kt
index 864ece09..1d2d36f7 100644
--- a/src/main/java/com/tang/intellij/lua/project/LuaModuleType.kt
+++ b/src/main/java/com/tang/intellij/lua/project/LuaModuleType.kt
@@ -27,10 +27,7 @@ import javax.swing.Icon

         <!--completion-->
         <completion.contributor language="Lua" implementationClass="com.tang.intellij.lua.editor.completion.LuaDocCompletionContributor"/>
-- 
2.16.2.windows.1

