opened
haxiomic
username_0
When the following complex type `:() -> (() -> R)`, the syntax printer fails to wrap the returning function in parantheses which is a syntax error

Repro
```haxe
new Printer().printComplexType(TFunction( [], TFunction([], macro :Int)))
// prints () -> () -> Int
// instead of () -> (() -> Int)
```

PR on the way
[macro] Syntax printer: function returning function can print invalid syntax
issue
closed
Simn
username_1
issue