nojanath / SublimeKSP

Fork of Nils Liberg's SublimeKSP plugin. See README for details.
GNU General Public License v3.0
87 stars 18 forks source link

signbit() function doesn't accept integer variables #316

Closed raptor-666 closed 1 year ago

raptor-666 commented 1 year ago
on init
    declare value := -5
    message(signbit(value))
end on

Compiling this code gives the error "Expected expression of real type, got integer type instead!".

There is no error when using the native KSP inside NI Kontakt.

mkruselj commented 1 year ago

Nice catch! Stupid copy paste typo. 😓