fun foo() {} foo.bar = "value"; // expect runtime error: Only instances have fields.