fun foo() {} foo.bar; // expect runtime error: Only instances have properties.