class Test def main is shared o as Object = 5 i as int = o to int assert i==5 # see Tests\NNN-generics\MMM-nilables for the to? operator