qore
qore copied to clipboard
fix variant matching to prefer "or nothing" matches over "softlist"
ex: t(*int)
should be preferred over t(softlist<auto>)
:
sub t(*int i) {}
sub t(softlist<auto> l) {}
not doing so results in confusion and causes problem with jni args as well due to implicit conversions to Java arrays