diff --git a/analysis/tests/bsconfig.json b/analysis/tests/bsconfig.json index cef97db16..2722665be 100644 --- a/analysis/tests/bsconfig.json +++ b/analysis/tests/bsconfig.json @@ -9,6 +9,7 @@ "subdirs": true } ], + "uncurried": false, "bsc-flags": ["-w -33-44"], "bs-dependencies": ["@rescript/react"], "jsx": { "version": 3 } diff --git a/analysis/tests/package-lock.json b/analysis/tests/package-lock.json index c1d438a87..71841fe51 100644 --- a/analysis/tests/package-lock.json +++ b/analysis/tests/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "rescript": "^11.0.0-alpha.1" + "rescript": "^11.0.0-beta.1" }, "devDependencies": { "@rescript/react": "^0.11.0-rc.3" @@ -69,14 +69,17 @@ } }, "node_modules/rescript": { - "version": "11.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.0.0-alpha.1.tgz", - "integrity": "sha512-+01rdTX9FCOZrEJFVrk2XRgrIlGLf93EKsNwoW5iq0jQiKcYGCdHeSbJvVYF+cximgm+CmWhSkR42l+Il6t12A==", + "version": "11.0.0-beta.1", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.0.0-beta.1.tgz", + "integrity": "sha512-oKgMJAj/hLQFdWcp3hDcRsTJ/HaVdX5Ze41Egj9XUCBzKP89026e/I3eV4N3+OvLPskvvFwiTEVeR3yiDGVTYA==", "hasInstallScript": true, "bin": { "bsc": "bsc", "bstracing": "lib/bstracing", "rescript": "rescript" + }, + "engines": { + "node": ">=10" } }, "node_modules/scheduler": { @@ -137,9 +140,9 @@ } }, "rescript": { - "version": "11.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.0.0-alpha.1.tgz", - "integrity": "sha512-+01rdTX9FCOZrEJFVrk2XRgrIlGLf93EKsNwoW5iq0jQiKcYGCdHeSbJvVYF+cximgm+CmWhSkR42l+Il6t12A==" + "version": "11.0.0-beta.1", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.0.0-beta.1.tgz", + "integrity": "sha512-oKgMJAj/hLQFdWcp3hDcRsTJ/HaVdX5Ze41Egj9XUCBzKP89026e/I3eV4N3+OvLPskvvFwiTEVeR3yiDGVTYA==" }, "scheduler": { "version": "0.23.0", diff --git a/analysis/tests/package.json b/analysis/tests/package.json index cb1651891..c22c6e692 100644 --- a/analysis/tests/package.json +++ b/analysis/tests/package.json @@ -8,6 +8,6 @@ "@rescript/react": "^0.11.0-rc.3" }, "dependencies": { - "rescript": "^11.0.0-alpha.1" + "rescript": "^11.0.0-beta.1" } } diff --git a/analysis/tests/src/expected/Completion.res.txt b/analysis/tests/src/expected/Completion.res.txt index 560385753..04fab25fa 100644 --- a/analysis/tests/src/expected/Completion.res.txt +++ b/analysis/tests/src/expected/Completion.res.txt @@ -918,13 +918,13 @@ Path Js.n "label": "nullable", "kind": 22, "tags": [], - "detail": "type nullable<+'a>", - "documentation": {"kind": "markdown", "value": "\n A value of this type can be undefined, null or 'a. This type is equivalent to Js.Null_undefined.t.\n"} + "detail": "type nullable<'a> = Value('a) | Null | Undefined", + "documentation": null }, { "label": "null", "kind": 22, "tags": [], - "detail": "type null<+'a>", + "detail": "type null<'a> = Value('a) | Null", "documentation": {"kind": "markdown", "value": "\n Nullable value of this type can be either null or 'a. This type is equivalent to Js.Null.t.\n"} }]