Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught RuntimeError: unreachable #13

Open
Nahee-Park opened this issue Dec 1, 2022 · 0 comments
Open

Uncaught RuntimeError: unreachable #13

Nahee-Park opened this issue Dec 1, 2022 · 0 comments

Comments

@Nahee-Park
Copy link

GM, and thank you for giving such a valuable open source. I'd like to use this open source to integrate the rust-analyzer-wasm function into another open source web IDE.

However, two serious flaws were discovered in this open source.

  1. panicked at 'index out of bounds: the len is 1 but the index is 27'

First, if you add code into the IDE soon after it appears on the screen, you will get an index error panicked at 'index out of bounds: the len is 1 but the index is 27' as shown in the first image below. The providers injected into the Monaco will not function properly in this panic state. This state is depicted in the image below.

image

  1. panicked at 'assertion failed: self.is_char_boundary(n)
    Second, when the IDE with rust-anlayzer-wasm is loaded, if you enter a language other than English before English, the error panicked at 'assertion failed: self.is_char_boundary(n) appears. Once a runtime error occurs, the providers injected into monaco will no longer function properly. This state is depicted in the image below.

image

I'd like us to discuss and resolve these difficulties. Have you any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant