Closed Altair-sh closed 5 months ago
The following code was transpiling fine with fut 3.1.1
public static class MainClass { public static void Main(string[] args){ #if CS native { // some C# code } #endif } }
Now fut produces following errors:
src/MainClass.fu(3): ERROR: Invalid expression src/MainClass.fu(3): ERROR: Expected ';', got 'if'
The error can be avoided by removing the indent before #if.
#if
public static class MainClass { public static void Main(string[] args){ #if CS //...
Please fix this or add a note in documentation about indentaion.
I checked several fut versions and it seems this bug was added in 3.2.0
Indeed, this was introduced in 3.2.0. Thanks for reporting!
The following code was transpiling fine with fut 3.1.1
Now fut produces following errors:
The error can be avoided by removing the indent before
#if
.Please fix this or add a note in documentation about indentaion.