case classes without a parameter list are not allowed; use either case
objects or case classes with an explicit `()' as a parameter list.
の対策