Closed madsmtm closed 8 months ago
We don't want to allow e.g. this: &NSString in declare_class!, since that'd not be valid with self: &NSString (and is very likely unsound and undesired anyhow).
this: &NSString
declare_class!
self: &NSString
Also refactor declare class internals in preparation for https://github.com/madsmtm/objc2/pull/521.
We don't want to allow e.g.
this: &NSString
indeclare_class!
, since that'd not be valid withself: &NSString
(and is very likely unsound and undesired anyhow).Also refactor declare class internals in preparation for https://github.com/madsmtm/objc2/pull/521.