On b38, when creating an IOBox (String) via double right-clic menu and changing its type to Spread<String>, the following exception pops : System.InvalidCastException: Unable to cast object of type 'VL.Lib.Collections.Spread 1[System.String]' to type 'System.String'. Full log is here.
Steps to reproduce :
Create a new VL document
Create an IOBox String via double right-clic menu
Change its type to Spread<String> via middle-clic
Exception pops right away
After the exception has popped, the IOBox is filled with :
See the following gif :
The same thing does not happen if I create an IOBox (Float32) and change its type to Spread<Float32>.
Thanks for the report. As a workaround until this is fixed I’d recommend creating a Generic IO box first and then do the type annotation. The exception only seems to come up when going from one type to another.