Hello again!
I have seen a bug with functions inside structs where shortand types are commented out.
Creating a function with shortand types work as expected :
function foo(bar: number)->void {}
However, functions inside structs automatically comment shortand types, so typing this :
function foo() constructor
{
function bar(baz: number)-> void {}
}
Then saving gives this :
function foo() constructor
{
function bar(baz/*: number*/)/*-> void*/ {}
}
It is to be noted that methods inside structs do work as expected, typing this then saving does not change anything :
function foo() constructor
{
bar = function(baz: number)->void {}
}