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
The move analyzer crashes if the manifest file is missing.
Steps To reproduce the bug
Create a default Move project using the following command:
iota move new xxx
Delete the Move.toml file.
Open the created project in Visual Studio Code with the IOTA Move extension installed.
Open the ./sources/xxx.move file.
Start typing something, for example, pub abc.
Actual behavior
The move analyzer crashes.
Errors
thread '<unnamed>' panicked at external-crates/move/crates/move-analyzer/src/symbols.rs:1220:49:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 6:43:06 PM] Server process exited with signal SIGABRT.
[Error - 6:43:06 PM] The Move server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 6:43:06 PM] Delivering pending changes failed
TypeError: this.task is not a function
at /Users/iota/.vscode/extensions/iotaledger.iota-move-1.0.0-darwin-arm64/node_modules/vscode-languageclient/lib/common/utils/async.js:28:35
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processTimers (node:internal/timers:516:9)
The text was updated successfully, but these errors were encountered:
Bug description
The move analyzer crashes if the manifest file is missing.
Steps To reproduce the bug
Move.toml
file../sources/xxx.move
file.pub abc
.Actual behavior
The move analyzer crashes.
Errors
The text was updated successfully, but these errors were encountered: