File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
graalvm-js/src/main/kotlin/elide/runtime/lang/javascript
graalvm/src/test/kotlin/elide/runtime/gvm/js/vfs Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,8 @@ internal object PackageExportsResolver {
251251 return try {
252252 JSObject .enumerableOwnNames(obj).mapNotNull { key ->
253253 when (key) {
254- is String -> key
255254 is com.oracle.truffle.api.strings.TruffleString -> key.toJavaStringUncached()
256- else -> null
255+ else -> key?.toString()
257256 }
258257 }
259258 } catch (e: Exception ) {
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ import elide.util.UUID
138138 /* *
139139 * Test: Import from a package with nested conditional exports (the main fix).
140140 *
141- * This is the pattern used by @discordjs/* packages that caused the original issue.
141+ * This is the pattern used by ` @discordjs/*` packages that caused the original issue.
142142 *
143143 * package.json:
144144 * {
You can’t perform that action at this time.
0 commit comments