Commit Graph

1 Commits

Author SHA1 Message Date
Julien Fischer
71e279425c Complete switches on 8- and 16-bit fixed size integers.
compiler/type_util.m:
    Treat complete switches on 8- and 16-bit fixed sized integers as det.
    (We don't do the same for the other fixed size integer types, since having
    a complete switch on them is not practical anyway.)

tests/valid/Mmakefile:
tests/valid/compare_{int8,uint8}_switch.m:
    Add a test for complete switches on the 8-bit integer types.
2018-04-05 20:03:02 +10:00