EliotVU / UnrealScript-Language-Service

Bringing a work-in-progress intelliSense to ye olde UnrealScript :)
MIT License
48 stars 9 forks source link

[0.4.4] Default value isn't enough to consider argument optional #29

Closed Xymanek closed 4 years ago

Xymanek commented 4 years ago
native final function SetPos(float PosX, float PosY, float PosZ=0.0);

image

Canvas.SetPos(4, out_YPos);

image

The UC compiler obviously considers this fine, so perhaps downgrade it to a suggestion or something?

EliotVU commented 4 years ago

Fixed by commit https://github.com/EliotVU/UnrealScript-Language-Service/commit/08f898e8448c110ac771ff78b43f7eb5c5efc0b7