blob: 2568ad8fa79ffa320cf8ec97f9dc6943e0b32011 [file] [log] [blame]
40 columns |
>>> multiple lines
enum Primate{BONOBO,CHIMP,GORILLA,ORANGUTAN}
<<<
enum Primate {
BONOBO,
CHIMP,
GORILLA,
ORANGUTAN
}
>>> multiple lines trailing comma
enum Primate{BONOBO,CHIMP,GORILLA,ORANGUTAN,}
<<<
enum Primate {
BONOBO,
CHIMP,
GORILLA,
ORANGUTAN,
}
>>> wrapped argument lists in values
enum Args {
firstEnumValue(longArgument,anotherArgument),
secondEnumValue(longArgument,anotherArgument,aThirdArgument,theLastOne),
thirdGenericOne<FirstTypeArgument,
SecondTypeArgument<NestedTypeArgument,AnotherNestedTypeArgument>,
LastTypeArgument>(namedArgument: firstValue,anotherNamed:argumentValue)
}
<<<
enum Args {
firstEnumValue(
longArgument, anotherArgument),
secondEnumValue(
longArgument,
anotherArgument,
aThirdArgument,
theLastOne),
thirdGenericOne<
FirstTypeArgument,
SecondTypeArgument<
NestedTypeArgument,
AnotherNestedTypeArgument>,
LastTypeArgument>(
namedArgument: firstValue,
anotherNamed: argumentValue)
}