         }
 
         // Simple enums (no tuples)
-        if !simpleCases.contains(where: { $0.tuple != nil }) && declaration.typeInheritanceClause == nil {
+        if !simpleCases.contains(where: { $0.tuple != nil }) {
+            if declaration.typeInheritanceClause != nil {
+                return makeValueEnum(declaration:declaration, simpleCases:simpleCases)
+            }
             let attrsTokens = tokenize(declaration.attributes, node: declaration)
             let modifierTokens = declaration.accessLevelModifier.map { tokenize($0, node: declaration) } ?? []
             let headTokens = [

        }
        return newTokens
    }
}

public typealias InvertedConditionList = [InvertedCondition]

import AST
import Source
import Parser

extension EnumDeclaration.Member {
    var rawValueStyleEnumCase: EnumDeclaration.RawValueStyleEnumCase? {
        switch self {
        case .rawValue(let rawValueStyleEnumCase):
            return rawValueStyleEnumCase
        default:
            return nil
        }
    }
}

public class KotlinTokenizer: SwiftTokenizer {

