You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to crash Wake language server in Vscode with the following code.
Wake Version: 38.0.0
Running wake gives the following error. wake/wakebox/runners/rhel8-slurm-runner.wake:210:9: multi-argument match requires a multi-argument pattern
Error:
RuntimeError: memory access out of bounds
at wasm://wasm/007a1372:wasm-function[403]:0xcc52a
at wasm://wasm/007a1372:wasm-function[403]:0xcbacd
at wasm://wasm/007a1372:wasm-function[372]:0xbb3b0
at wasm://wasm/007a1372:wasm-function[372]:0xbc810
at wasm://wasm/007a1372:wasm-function[372]:0xbc94a
at wasm://wasm/007a1372:wasm-function[581]:0x12dac1
at wasm://wasm/007a1372:wasm-function[565]:0x10bd75
at wasm://wasm/007a1372:wasm-function[558]:0x10782d
[Error - 4:08:01 PM] Request textDocument/definition failed.
Message: Request textDocument/definition failed with message: memory access out of bounds
Code: -32603
Bad code
def foo =
def bar =
"apple"
require Pass (Pair extra base) = match tokenize `-` bar
(d, h, Nil) -> Pass (Pair d h)
(h, Nil) -> Pass (Pair "" h)
_ -> failWithError "Wrong Format"
Good Code
def foo =
def bar =
"apple"
require Pass (Pair extra base) = match (tokenize `-` bar)
(d, h, Nil) -> Pass (Pair d h)
(h, Nil) -> Pass (Pair "" h)
_ -> failWithError "Wrong Format"
The text was updated successfully, but these errors were encountered:
I was able to crash Wake language server in Vscode with the following code.
Wake Version:
38.0.0
Running wake gives the following error.
wake/wakebox/runners/rhel8-slurm-runner.wake:210:9: multi-argument match requires a multi-argument pattern
Error:
Bad code
Good Code
The text was updated successfully, but these errors were encountered: