i'm not going to do this. i do not want to touch that shit with a ten foot pole
for the js side, i don't care about what the code base is using
oh right there's also the thing where the java map interface plays at being a plain js object except that it has all the methods from map and if you have an entry with one of those methods' names as a key then it shadows the method but the in operator is busted too
i didn't realize the situation with rhino was so dire. this barely qualifies as a js runtime.
i remember shit like strings crossing the boundary from java into js are objects that behave like strings but are not instanceof String, but i had no idea how truly bad it was in here
i think maybe i should dust off my handwritten kubejs typescript definitions and compile to es5 like i was doing for 1.16 >_>
oho, this error has a line number! and is complaining about...a const declaration in an if block...............ok so apparently const is not block scoped in rhino??
i was trying to figure out if Object.hasOwn is available in rhino and i guess the answer is "lmao who knows"
i think....this is coming from ("hasOwn" in Object)... what the fuck kind of js runtime is this
also rhino exception messages are fucking garbage apparently
crossing the nh border is basically like driving into a forest where all the trees are blue rectangles with some rich guys name on them
and i mean half my neighbors have them
i don't think i've been there _since_ i was a teenager
riley | they / she | queer, not lgbt
the mastodon instance at cybre.space is retiring
see the end-of-life plan for details: https://cybre.space/~chr/cybre-space-eol