Closed georgejecook closed 2 years ago
I thought there was a limitation to the way you could define anonymous function parameters, but now I can't reproduce the issues I was seeing before.
sub main()
message = (function(name = "bob" as string)
~~~~~~~~~~~~~~~~~ I thought some part of this was a syntax error in the past?
return "hello " + name
end function)("world")
end sub
I'll look into what could be causing the parse issues in brighterscript-formatter.
I can add these, as I use them in bs, with my maestro-bsc-plugin; but it presently crashes roku-formatter: @TwitchBronBron tells me that this use is not regular brs; so I guess that bslint should either: