@ModifyConstant
with boolean
return value incorrectly gets reported as an error
#2258
Labels
@ModifyConstant
with boolean
return value incorrectly gets reported as an error
#2258
Minecraft Development for IntelliJ plugin version
2023.2.2-1.7.3
IntelliJ version
IntelliJ IDEA 2023.2.6 (Community Edition)
Operating System
Windows 10
Target platform
Mixins
Description of the bug
A
@ModifyConstant
with aboolean
return value can be used to replace aninstanceof
check with some other check, but it gets incorrectly reported as two errors: one for theClass
return type, and one for the method parameters, the latter being #2231. However, it works just fine and replaces theinstanceof
check as expected.Reproducable mixin (yarn mappings):
The text was updated successfully, but these errors were encountered: