We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cce7b0 commit 872607eCopy full SHA for 872607e
src/main/java/com/tang/intellij/lua/ty/TyClass.kt
@@ -163,6 +163,8 @@ abstract class TyClass(override val className: String,
163
}
164
165
override fun subTypeOf(other: ITy, context: SearchContext, strict: Boolean): Boolean {
166
+ // class extends table
167
+ if (other == Ty.TABLE) return true
168
if (super.subTypeOf(other, context, strict)) return true
169
170
// Lazy init for superclass
0 commit comments