HaxeFoundation / intellij-haxe

Haxe plugin for IntelliJ Platform based IDEs (IDEA, Android-Studio)
http://intellij-haxe.org
Apache License 2.0
219 stars 100 forks source link

Wrong class constructor arguments counting #1167

Closed shaman4d closed 4 months ago

shaman4d commented 4 months ago

Class BO has 3 mandatory arguments in constructor. But when "complex" formula encounters IJ highlights it as wrong. More details in ss. Screenshot_1

m0rkeulv commented 4 months ago

Do you have multiple classes named BO, or overloaded constructors ? i cant seem to reproduce it, what version of the plugin are you using ? image

shaman4d commented 4 months ago

I have base class BO, several subclasses. One of subclasses has constructor without parameters. I use latest version of the plugin.

m0rkeulv commented 4 months ago

could you share the constructor signatures in the different classes, or in anyway create an example that reproduces the problem that i can look at. I am still unable to reproduce your problem. (this is my current attempt) image

shaman4d commented 4 months ago

I cannot reproduce it anymore even in work project. Sorry for bothering.

m0rkeulv commented 4 months ago

if that is the case it could have been caused by some kind of caching that didn't invalidate correctly, those are a bit hard to track down but ill keep this case in the back of my mind whenever i work on caching stuff.