Open Wendydesigner opened 1 month ago
The patch has been applied, and the compilation succeeded.
diff --git a/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js b/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js
index c7fa54b..2edaec3 100644
--- a/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js
+++ b/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js
@@ -92,7 +92,7 @@ var language = {
"with"
],
constants: ["true", "false", "nil"],
- nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
+ nameBuiltin: ["__MODULE__", "__DIR__", __ENV__, "__CALLER__", "__STACKTRACE__"],
// Matches any of the operator names:
// <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
I tried version 0.34.0 and encountered this issue. I'm not sure if this issue started occurring after 11.06.2021.
Monaco Editor Playground Code
No response
Reproduction Steps
vite": "^4.4.5", "monaco-editor": "^0.50.0",
From vite.config.ts
From package.json
Actual (Problematic) Behavior
Expected Behavior
No response
Additional Context
No response