Comments (4)
Can you send panic stack trace? It should logged in extension output (see https://stackoverflow.com/a/65938179/9611188)
The error "recursive use of an object detected which would lead to unsafe aliasing in rust" doesn't really tell anything. It's just a sign that a panic happened before.
from vscode-kanata.
panicked at src/formatter/defsrc_layout/mod.rs:175:38:
internal error: entered unreachable code
Stack:
Error
at N.exports.__wbg_new_abda76e883ba8a5f (c:\Users\fomin\.vscode\extensions\rszyma.vscode-kanata-0.8.4\out\server.js:34:2247)
at wasm://wasm/00470b62:wasm-function[1050]:0xc3f3e
at wasm://wasm/00470b62:wasm-function[478]:0xb01cb
at wasm://wasm/00470b62:wasm-function[727]:0xbf160
at wasm://wasm/00470b62:wasm-function[702]:0xbafce
at wasm://wasm/00470b62:wasm-function[86]:0x65547
at wasm://wasm/00470b62:wasm-function[83]:0x608de
at as.onDocumentFormatting (c:\Users\fomin\.vscode\extensions\rszyma.vscode-kanata-0.8.4\out\server.js:34:812)
at c:\Users\fomin\.vscode\extensions\rszyma.vscode-kanata-0.8.4\out\server.js:34:6255
at c:\Users\fomin\.vscode\extensions\rszyma.vscode-kanata-0.8.4\out\server.js:33:77865
[Error - 10:35:31 AM] Request textDocument/formatting failed.
Message: Request textDocument/formatting failed with message: unreachable
Code: -32603
[Error - 10:35:31 AM] Notification handler 'textDocument/didSave' failed with message: recursive use of an object detected which would lead to unsafe aliasing in rust
from vscode-kanata.
thanks, can reproduce
from vscode-kanata.
fixed in v0.9.0
from vscode-kanata.
Related Issues (20)
- Bug: syntax check for `deflocalkeys-wintercept` and `deflocalkeys-win` is not working HOT 1
- Bug: parser error not shown not shown in "Problems" tab when `ParseError.span` is `None` HOT 1
- Unknown key in defsrc while it is defined in deflocalkeys HOT 1
- BUG: repeat declaration of key in defsrc HOT 2
- error reporting cmd is not enabled while it is
- Bug: Syntax highlighting doesn't work correctly if there is no whitespace at line beginning. HOT 1
- Feature Request: Autodetect `localkeys` variant based on current OS
- deflayer formatting doesn't work in included files
- formatter crash
- deflayer formatter shouldn't end lines with trailing spaces
- Bug: formatter not working when `template-expand` is used in `defsrc` or `deflayer`
- Feat: "Go to definition"
- Bug: LSP crashes when using `defaliasenvcond` in kanata config HOT 4
- Bug: crash when including file that doesn't exist
- feature: add formatter rules for aligning items in `deflayermap`
- Feature: dim unused parts of config
- aliases
- Bug: Empty deflayer causes formatter crash
- feature: semantic highlighting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-kanata.