diff --git a/sysdata/programs/test/src/tests/stn/formatters.hb b/sysdata/programs/test/src/tests/stn/formatters.hb index a955562c..2fce6e65 100644 --- a/sysdata/programs/test/src/tests/stn/formatters.hb +++ b/sysdata/programs/test/src/tests/stn/formatters.hb @@ -12,14 +12,6 @@ SubThingy := struct { b: bool, } -a := enum { - Bababa, -} - -opaque := fn(): ?u32 { - return null -} - test := fn(): uint { buffer := memory.request_page(1) log.info(format(Thingy.(-100, -100, .(-math.PI, true)), buffer)) @@ -30,7 +22,8 @@ test := fn(): uint { log.info(format_args(math.LN_2, buffer, .{radix: 16, decimal_digits: 1 << 32})) log.info(format([u8].(1, 2, 3), buffer)) log.info(format(&SubThingy.(0.0, true), buffer)) - log.info(format(opaque(), buffer)) + log.info(format(@as(?u32, null), buffer)) + log.info(format(@as(?u32, 200), buffer)) return 0 } \ No newline at end of file