@@ -38,23 +38,6 @@ alias dstring = immutable(dchar)[];
38
38
39
39
version (D_ObjectiveC ) public import core.attribute : selector;
40
40
41
- // / See $(REF capacity, core,internal,array,capacity)
42
- public import core.internal.array.capacity : capacity ;
43
- // / See $(REF reserve, core,internal,array,capacity)
44
- public import core.internal.array.capacity : reserve ;
45
- // / See $(REF assumeSafeAppend, core,internal,array,capacity)
46
- public import core.internal.array.capacity : assumeSafeAppend ;
47
-
48
- // / See $(REF destroy, core,internal,destruction)
49
- public import core.internal.destruction : destroy ;
50
-
51
- private
52
- {
53
- extern (C ) Object _d_newclass(const TypeInfo_Class ci);
54
- }
55
-
56
- public @trusted @nogc nothrow pure extern (C ) void _d_delThrowable(scope Throwable);
57
-
58
41
/**
59
42
* All D class objects inherit from Object.
60
43
*/
@@ -975,6 +958,8 @@ class TypeInfo_Delegate : TypeInfo
975
958
override @property immutable (void )* rtInfo() nothrow pure const @safe { return RTInfo ! (int delegate ()); }
976
959
}
977
960
961
+ private extern (C) Object _d_newclass(const TypeInfo_Class ci);
962
+
978
963
/**
979
964
* Runtime type information about a class.
980
965
* Can be retrieved from an object instance by using the
@@ -2125,6 +2110,16 @@ class Error : Throwable
2125
2110
}
2126
2111
}
2127
2112
2113
+ // / See $(REF capacity, core,internal,array,capacity)
2114
+ public import core.internal.array.capacity : capacity ;
2115
+ // / See $(REF reserve, core,internal,array,capacity)
2116
+ public import core.internal.array.capacity : reserve ;
2117
+ // / See $(REF assumeSafeAppend, core,internal,array,capacity)
2118
+ public import core.internal.array.capacity : assumeSafeAppend ;
2119
+
2120
+ // / See $(REF destroy, core,internal,destruction)
2121
+ public import core.internal.destruction : destroy ;
2122
+
2128
2123
extern (C )
2129
2124
{
2130
2125
// from druntime/src/rt/aaA.d
@@ -3211,6 +3206,8 @@ public import core.internal.postblit: __ArrayPostblit;
3211
3206
public import core.internal.switch_ : __switch;
3212
3207
public import core.internal.switch_ : __switch_error;
3213
3208
3209
+ public @trusted @nogc nothrow pure extern (C ) void _d_delThrowable(scope Throwable);
3210
+
3214
3211
// Compare class and interface objects for ordering.
3215
3212
private int __cmp (Obj)(Obj lhs, Obj rhs)
3216
3213
if (is (Obj : Object ))
0 commit comments