diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2021-06-25 16:19:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 16:19:18 +0900 |
commit | d832d2bfd1f0487181f96bdecd7a28968a150fac (patch) | |
tree | b4e40fa8689bf97434470cfce9f303f8ddeacf9a /extensions/webgpu/01_webgpu.js | |
parent | 606611708c4351e9f5e0e3b975f9331d95168efb (diff) |
chore(ext/console): deprecate Deno.customInspect (#10035)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'extensions/webgpu/01_webgpu.js')
-rw-r--r-- | extensions/webgpu/01_webgpu.js | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/extensions/webgpu/01_webgpu.js b/extensions/webgpu/01_webgpu.js index 23beaf1cc..5ff6cde46 100644 --- a/extensions/webgpu/01_webgpu.js +++ b/extensions/webgpu/01_webgpu.js @@ -167,7 +167,7 @@ } } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${inspect({})}`; } } @@ -271,7 +271,7 @@ ); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ name: this.name, @@ -388,7 +388,7 @@ return this[_limits].maxVertexBufferArrayStride; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${inspect(this[_limits])}`; } } @@ -451,7 +451,7 @@ return this[_features][Symbol.iterator](); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${inspect([...this.values()])}`; } } @@ -492,7 +492,7 @@ return this[_message]; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ reason: this[_reason], message: this[_message] }) }`; @@ -1292,7 +1292,7 @@ return scope.error ?? null; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ features: this.features, @@ -1478,7 +1478,7 @@ throw new Error("Not yet implemented"); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -1793,7 +1793,7 @@ this[_cleanup](); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -1932,7 +1932,7 @@ this[_cleanup](); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -1999,7 +1999,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2042,7 +2042,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2085,7 +2085,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2128,7 +2128,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2171,7 +2171,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2218,7 +2218,7 @@ throw new Error("Not yet implemented"); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2312,7 +2312,7 @@ return bindGroupLayout; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -2387,7 +2387,7 @@ return bindGroupLayout; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -3150,7 +3150,7 @@ return commandBuffer; } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -3966,7 +3966,7 @@ }); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -4369,7 +4369,7 @@ }); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -4417,7 +4417,7 @@ throw new Error("Not yet implemented"); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -4873,7 +4873,7 @@ throw new Error("Not yet implemented"); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -4917,7 +4917,7 @@ webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, @@ -4971,7 +4971,7 @@ this[_cleanup](); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${ inspect({ label: this.label, |