mirror of
https://github.com/dlang/dmd.git
synced 2025-05-01 23:50:22 +03:00

The issue was that when support for Objective-C class methods was added, the metaclass was accidentally exposed as the `.Class` member for all Objective-C interfaces.
14 lines
314 B
D
14 lines
314 B
D
// EXTRA_OBJC_SOURCES
|
|
|
|
extern (Objective-C)
|
|
interface A
|
|
{
|
|
void oneTwo(int a, int b) pure @selector("one:two:");
|
|
void test(int a, int b, int c) @selector("test:::");
|
|
}
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=19494
|
|
extern (Objective-C) interface NSObject
|
|
{
|
|
extern (Objective-C) interface Class {}
|
|
}
|