@effect/language-service 0.69.0 → 0.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +4 -2
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +3 -1
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +3 -1
- package/transform.js.map +1 -1
package/cli.js
CHANGED
|
@@ -30214,7 +30214,7 @@ var runMain3 = runMain2;
|
|
|
30214
30214
|
// package.json
|
|
30215
30215
|
var package_default = {
|
|
30216
30216
|
name: "@effect/language-service",
|
|
30217
|
-
version: "0.69.
|
|
30217
|
+
version: "0.69.1",
|
|
30218
30218
|
packageManager: "pnpm@8.11.0",
|
|
30219
30219
|
publishConfig: {
|
|
30220
30220
|
access: "public",
|
|
@@ -36629,9 +36629,11 @@ var effectFnOpportunity = createDiagnostic({
|
|
|
36629
36629
|
});
|
|
36630
36630
|
}
|
|
36631
36631
|
const pipeArgsSuffix = pipeArguments2.length > 0 ? ` Effect.fn also accepts the piped transformations as additional arguments.` : ``;
|
|
36632
|
+
const suggestConsultingQuickFixes = ` Your editor quickfixes or the "effect-language-service" cli can show you how to convert to Effect.fn or Effect.fnUntraced.`;
|
|
36633
|
+
const orFnUntraced = target.value.generatorFunction ? `, or Effect.fnUntraced` : ``;
|
|
36632
36634
|
report({
|
|
36633
36635
|
location: nameIdentifier ?? targetNode,
|
|
36634
|
-
messageText:
|
|
36636
|
+
messageText: `This function could benefit from Effect.fn's automatic tracing and concise syntax${orFnUntraced}.${pipeArgsSuffix}${suggestConsultingQuickFixes}`,
|
|
36635
36637
|
fixes
|
|
36636
36638
|
});
|
|
36637
36639
|
}
|