shithub: mc

ref: b6cc5894e7c326a0dccb27f7b8347dbe56df6595
dir: /test/fmtalign.myr/

View raw version
use std

pkg = 
    type msg = union
        `Tversion   tversion
    ;;
    type tversion = struct
        tag : uint16
        version : byte[:]
    ;;
;;

const main = {
    var msg=`Tversion [.tag=45, .version="9P2000"]
    std.fmt("{}\n", msg)
}