What is wrong with this class definition?
class Empty
The class is properly defined, so nothing is wrong with it.
The curely braces are missing from the declaration of Empty.
The parentheses are missing-it should be declared as class Empty().
Empty is a Kotlin keyword, so the code will generate an error when compiled.