Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,17 @@ task:
CI_DFLAGS: -version=TARGET_FREEBSD12
install_bash_and_git_script: pkg install -y bash git
<< : *COMMON_STEPS_TEMPLATE

task:
name: FreeBSD 11.4 x64
freebsd_instance:
image_family: freebsd-11-4
cpu: 4
memory: 8G
timeout_in: 60m
environment:
OS_NAME: freebsd
HOST_DMD: dmd-2.079.0
CI_DFLAGS: -version=TARGET_FREEBSD11
install_bash_and_git_script: pkg install -y bash git
<< : *COMMON_STEPS_TEMPLATE
8 changes: 4 additions & 4 deletions src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -1401,14 +1401,14 @@ private extern (C) int _d_isbaseof(scope TypeInfo_Class child,
*/
class TypeInfo_Class : TypeInfo
{
override string toString() const pure { return name; }
override string toString() const pure { return info.name; }

override bool opEquals(Object o)
{
if (this is o)
return true;
auto c = cast(const TypeInfo_Class)o;
return c && this.name == c.name;
return c && this.info.name == c.info.name;
}

override size_t getHash(scope const void* p) @trusted const
Expand Down Expand Up @@ -1464,8 +1464,8 @@ class TypeInfo_Class : TypeInfo
return m_offTi;
}

final @property auto info() @safe @nogc nothrow pure const return { return this; }
final @property auto typeinfo() @safe @nogc nothrow pure const return { return this; }
@property auto info() @safe nothrow pure const return { return this; }
@property auto typeinfo() @safe nothrow pure const return { return this; }

byte[] m_init; /** class static initializer
* (init.length gives size in bytes of class)
Expand Down