Giter Club home page Giter Club logo

Comments (4)

rszyma avatar rszyma commented on July 18, 2024

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.

son1ss avatar son1ss commented on July 18, 2024

@rszyma

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.

rszyma avatar rszyma commented on July 18, 2024

thanks, can reproduce

from vscode-kanata.

rszyma avatar rszyma commented on July 18, 2024

fixed in v0.9.0

from vscode-kanata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.