Kotlin / kotlin-by-example

The sources of Kotlin by Example.
https://play.kotlinlang.org/byExample/overview
MIT License
460 stars 897 forks source link

fix: replace comma by semicolon #165

Closed jlguenego closed 3 years ago

jlguenego commented 3 years ago

Enum class members are separated from the instance definitions by a semicolon.

semicolon should be replaced by comma.

p7nov commented 3 years ago

Hi! Thanks for the suggestion. Anyway, here we talk about the last line in this part:

    RED(0xFF0000),      
    GREEN(0x00FF00),
    BLUE(0x0000FF),
    YELLOW(0xFFFF00);

So it's actually ends with a semicolon and this is what we're explaining.

jlguenego commented 3 years ago

Oups ! Okay I just understood. This one is not obvious or intuitive.