Skip to content

Conversation

@nsajko
Copy link
Member

@nsajko nsajko commented Sep 24, 2025

  • Do not test the exact return type of Fix{1}(MyStruct, 1). That does not seem necessary, given that the intention behind the test is merely ensuring that Fix works correctly for a newly-defined MyStruct.

  • Test that Fix{1}(MyStruct, 1)() calls MyStruct(1).

The motivation is making PkgEval pass for PR JuliaLang/julia#59623.

* Do not test the exact return type of `Fix{1}(MyStruct, 1)`. That does
  not seem necessary, given that the intention behind the test is
  merely ensuring that `Fix` works correctly for a newly-defined
  `MyStruct`.

* Test that `Fix{1}(MyStruct, 1)()` calls `MyStruct(1)`.

The motivation is making PkgEval pass for PR JuliaLang/julia#59623.
@nsajko nsajko changed the title Fix: adjust "structs not in Base" test test: Fix: adjust "structs not in Base" test Sep 24, 2025
Copy link
Member

@martinholters martinholters left a comment

Choose a reason for hiding this comment

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

I'm not convinced JuliaLang/julia#59623 is the way to go, but this test shouldn't stand in the way; ok with me to weaken it.

@martinholters
Copy link
Member

You can also bump the version, so that we can do a release immediately after merging.

Co-authored-by: Martin Holters <[email protected]>
@nsajko
Copy link
Member Author

nsajko commented Sep 27, 2025

merge?

@martinholters martinholters merged commit f2a3730 into JuliaLang:master Sep 29, 2025
21 checks passed
@nsajko nsajko deleted the relax-overly-strict-test branch October 1, 2025 18:37
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.

2 participants