 cs.dotAccessor = gg.sequence(".", cs.field).setBuilder 1
 
 optionalNewlines = # helper for class MultiLine
-    gg.list(gg.choice(gg.indent, gg.dedent, gg.newline), null, 'canbeempty')
+    gg.maybeList(gg.choice(gg.indent, gg.dedent, gg.newline))
 
 # Support for list of elements which accept arbitrary indentations between
 # them. Used for array elements and function arguments.


# expressions starting with parentheses: normal parentheses and lambdas
cs.parentheses = gg.sequence(
    '(', gg.list(cs.exprOrSplat, ',', 'canbeempty'), ')',
    gg.choice(
        ['->', cs.lineOrBlock],
        ['=>', cs.lineOrBlock],

            gg.wrap(cs.expr, 30),
            gg.maybe '...'
        ).setBuilder(buildSplat)
        ','
    ),
).setBuilder(1)

# Disabled: both forms have different precedences
