DragonKnightOfBreeze / Paradox-Language-Support

IDEA Plugin: Paradox Language Support.
https://windea.icu/Paradox-Language-Support
MIT License
36 stars 4 forks source link

Parameters are not validated when parameter is of type scope, and the value passed is of type system_link #80

Closed adriangaro closed 2 months ago

adriangaro commented 3 months ago

this scope is of type scope[leader] (system link to current scope) yet the parameter is of type scope[country] in which one would expect a type error/highlight.

image image

DragonKnightOfBreeze commented 3 months ago

This validation is drived by IncorrectExpressionInspection but somehow it does not work for parameter values according to the screenshot. Could you paste necessary text snippets of scripts and cwt configs?

DragonKnightOfBreeze commented 2 months ago

image