The following code fails to compile using 2.080.0 or later:
extern (Objective-C) interface NSObject
{
extern (Objective-C) interface Class {}
}
The error message is:
Error: interface `main.NSObject.Class` conflicts with interface `main.NSObject.Class`
The issue is that when Objective-C class methods were implemented the type of the metaclass was accidentally exposed as the "Class" member inside every Objective-C interface.
Comment #1 by github-bugzilla — 2018-12-16T09:43:03Z