shithub: mc

ref: 02201160614e5f25a7a73d86ed26a1f90fa4f5bb
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.put("{}\n", msg)
}