veryl icon indicating copy to clipboard operation
veryl copied to clipboard

fmt of case statement/expression is incomplete

Open nananapo opened this issue 4 months ago • 0 comments

module ModuleA {
    let a: logic = case 0 {
        A: 0,
        B,
        C: 0,
        default: 0,
    };
}

↓ veryl fmt

module ModuleA {
    let a: logic = case 0 {
        A: 0,
        B, C   : 0,
        default: 0,
    };
}

↓ veryl fmt

module ModuleA {
    let a: logic = case 0 {
        A      : 0,
        B, C   : 0,
        default: 0,
    };
}

nananapo avatar Oct 04 '24 09:10 nananapo