Skip to content

Commit 17deb5e

Browse files
Refactor GlobalThis.mls to remove machine-dependent contents from diff-test output
1 parent c254ddc commit 17deb5e

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

hkmc2/shared/src/test/mlscript/codegen/GlobalThis.mls

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,8 @@
11
:js
22

33

4+
:silent
45
globalThis
5-
//│ > <ref *1> Object [global] {
6-
//│ > global: [Circular *1],
7-
//│ > clearImmediate: [Function: clearImmediate],
8-
//│ > setImmediate: [Function: setImmediate] {
9-
//│ > [Symbol(nodejs.util.promisify.custom)]: [Getter]
10-
//│ > },
11-
//│ > clearInterval: [Function: clearInterval],
12-
//│ > clearTimeout: [Function: clearTimeout],
13-
//│ > setInterval: [Function: setInterval],
14-
//│ > setTimeout: [Function: setTimeout] {
15-
//│ > [Symbol(nodejs.util.promisify.custom)]: [Getter]
16-
//│ > },
17-
//│ > queueMicrotask: [Function: queueMicrotask],
18-
//│ > structuredClone: [Function: structuredClone],
19-
//│ > atob: [Getter/Setter],
20-
//│ > btoa: [Getter/Setter],
21-
//│ > performance: [Getter/Setter],
22-
//│ > fetch: [Function: fetch],
23-
//│ > navigator: [Getter],
24-
//│ > crypto: [Getter]
25-
//│ = }
266

277

288
// FIXME prevent rebinding of this name

0 commit comments

Comments
 (0)