-
Notifications
You must be signed in to change notification settings - Fork 6
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
java.lang.StackOverflowError during hover #46
Comments
Are you able to share the file you're opening that's causing this error? |
I can reproduce the error with this snippet: import "pkl:reflect"
class Foo {}
local classes = new Listing {
Foo
}.toList()
function isClassOrSubclass(value: Any, clazz: Class?) =
if (clazz == null) false
else if (value.getClass() == clazz) true
else
isClassOrSubclass(value, reflect.Class(value).superclass?.reflectee)
function check(a: Any) = classes.any((it) -> isClassOrSubclass(a, it)) Trigger hover on |
bioball
changed the title
java.lang.StackOverflowError for extension 0.18.0
java.lang.StackOverflowError during hover
Oct 11, 2024
I think this is the file:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, just installed the last extension version 0.18.0.
Thank you, but java exceptions appear a lot the console...
The text was updated successfully, but these errors were encountered: