Class(AAirUnit) { bar } gets turned into Class(AAirUnit)({ bar }) Note that not only are the parenthesis unecessary, the whitespace after the class call is missing as well.
gets turned into
Note that not only are the parenthesis unecessary, the whitespace after the class call is missing as well.