Skip to content

Language Server Crash Fix#1353

Merged
TwitchBronBron merged 2 commits intorokucommunity:masterfrom
addison-adler:LanguageServer-Crash-Fix
Nov 25, 2024
Merged

Language Server Crash Fix#1353
TwitchBronBron merged 2 commits intorokucommunity:masterfrom
addison-adler:LanguageServer-Crash-Fix

Conversation

@addison-adler
Copy link
Contributor

@addison-adler addison-adler commented Nov 22, 2024

First, apparently this property is deprecated now
image

Additional Work Remaining

Second, if you do something super dumb like:

<component name="MyNode" extends="MyNode">
  1. ???
  2. Profit crashes!

This causes an infinite loop and a lot of lang. server crashes. I'll look further at this later to see where we can maybe prevent this from crashing and flag the error to the user. Right now there's no feedback besides a ton of crashes

@addison-adler addison-adler marked this pull request as draft November 22, 2024 04:53
@addison-adler addison-adler marked this pull request as ready for review November 22, 2024 04:55
@chrisdp
Copy link
Contributor

chrisdp commented Nov 22, 2024

What does the device do if you try to extend yourself? I assume a compile error?

Copy link
Member

@TwitchBronBron TwitchBronBron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I'll go ahead and merge this for now, you can feel free to open another PR with the additional fixes if you find the time to work on them. :)

@TwitchBronBron TwitchBronBron enabled auto-merge (squash) November 25, 2024 20:58
@TwitchBronBron TwitchBronBron merged commit 1754997 into rokucommunity:master Nov 25, 2024
@addison-adler
Copy link
Contributor Author

What does the device do if you try to extend yourself? I assume a compile error?

I'll get that info and open as an issue (or a PR if I can identify a fix)!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants