Motoko compiler bug

if I import an actor object(canister), not an actor class, it works.
Thanks.