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 4b0e29e commit aa1dccfCopy full SHA for aa1dccf
EmmyLua-Common/src/main/java/com/tang/intellij/lua/ty/Ty.kt
@@ -409,7 +409,7 @@ class TyUnion : Ty(TyKind.Union) {
409
410
override fun substitute(substitutor: ITySubstitutor): ITy {
411
val u = TyUnion()
412
- childSet.forEach { u.addChild(it.substitute(substitutor)) }
+ childSet.forEach { u.union2(it.substitute(substitutor)) }
413
return u
414
}
415
0 commit comments