Groovy 语法允许在列表中添加尾随逗号吗?即:
def my_list = ["apple", "banana", "telephone",]
根据文档中的列表文字示例:
assert list == [5, 6, 9, 8,] // trailing comma OK