Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Fix two small issues. #107

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

sjrd
Copy link
Collaborator

@sjrd sjrd commented Apr 16, 2024

Namely #105 and #106.

sjrd added 2 commits April 16, 2024 10:02
It allows to configure the `Class.getName()` result, typically in
order to obfuscate and/or reduce code size.
… on JS value.

As opposed to using `"" + x`, which is only valid for string
concatenation.

In most cases it makes no difference. The difference can only be
observed for `symbol`s.
@sjrd sjrd requested a review from tanishiking April 16, 2024 08:24
Copy link
Owner

@tanishiking tanishiking left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -226,11 +226,6 @@ lazy val `scalajs-test-suite` = project

lazy val IgnoredTestNames: Set[String] = {
Set(
// javaLangClassGetNameRenamedThroughSemantics failed: org.junit.ComparisonFailure:
// expected:<[renamed.test.]Class> but was:<[org.scalajs.testsuite.compiler.ReflectionTest$RenamedTest]Class>
"org.scalajs.testsuite.compiler.ReflectionTest",
Copy link
Owner

Choose a reason for hiding this comment

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

@tanishiking tanishiking merged commit bfc35ac into tanishiking:main Apr 17, 2024
1 check passed
@sjrd sjrd deleted the fix-two-small-issues branch April 17, 2024 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants