fix: MethodSignature#resolved throwing an exception

This commit is contained in:
Lucaskyy 2022-04-14 19:11:38 +02:00 committed by oSumAtrIX
parent bca948658e
commit c612676543
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -30,7 +30,11 @@ class MethodSignature(
}
val resolved: Boolean
get() {
return result != null
var resolved = false
try {
resolved = result != null
} catch (_: Exception) {}
return resolved
}
}