Closed GravityScriptsV2 closed 1 year ago
Not an error, it is the target-typed new expressions feature from C# 9.0.
The type is already known since it is specified of the left-side so it isn't needed after new
. It's not used consistently throughout the file since it already existed pre-C#9.0 but when I upgraded the project C#9.0 I started using the feature in new code.
Ah ok, didnt know that my bad.
You specified new but not what u wanted to create