[Issue 19699] [2.085.0-beta.2] Obj-C segfault - in objc_glue.getClassName
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 25 19:33:32 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19699
Jacob Carlborg <doob at me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doob at me.com
--- Comment #2 from Jacob Carlborg <doob at me.com> ---
I've found what the problem is. I'll try to make a PR as soon as I can. The
actual issue is that there's no base class, in combination with a body for the
function. Usually the code will look like this:
extern (Objective-C) class NSObject { ... }
extern (Objective-C) class Test : NSObject { ... }
It's extremely rare to define a new root class in Objective-C.
--
More information about the Digitalmars-d-bugs
mailing list