File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/JavaScriptKit/FundamentalObjects Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public final class JSBigInt: JSObject {
19
19
self . init ( id: _i64_to_bigint ( Int64 ( bitPattern: value) , false ) )
20
20
}
21
21
22
- override public init ( id: JavaScriptObjectRef ) {
22
+ @ _spi ( JSObject_id ) override public init ( id: JavaScriptObjectRef ) {
23
23
super. init ( id: id)
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ import _CJavaScriptKit
16
16
/// reference counting system.
17
17
@dynamicMemberLookup
18
18
public class JSObject : Equatable {
19
- internal var id : JavaScriptObjectRef
20
- init ( id: JavaScriptObjectRef ) {
19
+ @ _spi ( JSObject_id ) public var id : JavaScriptObjectRef
20
+ @ _spi ( JSObject_id ) public init ( id: JavaScriptObjectRef ) {
21
21
self . id = id
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments