Skip to content
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

Fix seqexpression testcases #16795

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Conversation

KevinRansom
Copy link
Member

The seq expression il tests were incorrectly implemented.
Rendering only realsig+ il baselines rather than both realsig+ and realsig-

@KevinRansom KevinRansom requested a review from a team as a code owner March 1, 2024 21:00
Copy link
Contributor

github-actions bot commented Mar 1, 2024

✅ No release notes required

@KevinRansom KevinRansom mentioned this pull request Mar 1, 2024
Copy link
Contributor

@brianrourkeboll brianrourkeboll left a comment

Choose a reason for hiding this comment

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

Yes, this looks right.

@KevinRansom KevinRansom merged commit f885a13 into dotnet:main Mar 1, 2024
31 checks passed
psfinaki pushed a commit that referenced this pull request Mar 4, 2024
* Real accessibility (#15484)

* merge

* remove unused binding

* temp

* temp

* temp

* temp

* temp

* temp

* fantomas

* temp

* temp

* quotes

* temp

* realsig build and test

* tuples, staticint tests

* SerializableAttribute tests

* SeqExpressionStepping

* AsyncExpressionStepping

* misc

* AttributeTargets

* CCtorDUWithMember ListExpressionStepping

* temp

* cleanup

* fantomas

* temp

* temp

* temp

* Automated command ran: fantomas

  Co-authored-by: KevinRansom <5175830+KevinRansom@users.noreply.github.com>

* Some cleanup

* clean

* fantoms

* temp

* merge issues

* fantomas

* temp

* Update src/Compiler/TypedTree/TypedTreeBasics.fs

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* Update src/Compiler/Optimize/Optimizer.fs

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* inline

* Fix plain build.

* Update changelog

* Fixed release notes

* feedback

* remove surplus realsigs

* Update src/Compiler/TypedTree/TypedTree.fsi

Co-authored-by: Petr Pokorny <petr@innit.cz>

* Update tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpressions.fs

Co-authored-by: Petr Pokorny <petr@innit.cz>

* baselines

* baselines

* baselines

* build.sh

* restore quotes

* moar quotes

* mutable police

* fantomas

* t

* Update baselines

* Shadowing/LinqCount.fsx baseline

* Shadowing lingcount

* access.fsx

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
Co-authored-by: Petr Pokorny <petr@innit.cz>

* Fix range start of INTERP_STRING_PART (#16785)

* use the same mechanism we used to fix the range start of INTERP_STRING_END to also fix the range start of INTERP_STRING_PART

* - use a new rule for '"}" +' to catch the correct range start
- clean up work around structures introduced before and not needed anymore with this

* Revert "- use a new rule for '"}" +' to catch the correct range start"

This reverts commit 4d01cda.

* add second PR to changelog

* remove commented poc code

* Enforce union case declarations AttributeTargets (#16764)

* Enforce union-cases AttributeTargets

* release notes

* LanguageFeature.EnforceAttributeTargetsUnionCaseDeclarations

* release notes

* format code

* improve naming

* Update src/Compiler/Checking/CheckExpressions.fs

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>

* Fix merge conflict

---------

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>

* Don't consider parse warnings as errors in ComputeTcIntermediate (#16792)

* Fix seqexpression testcases (#16795)

* correct realsignature test cases for seqexpr tests

* rename typo

---------

Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
Co-authored-by: Petr Pokorny <petr@innit.cz>
Co-authored-by: dawe <dawedawe@posteo.de>
Co-authored-by: Edgar Gonzalez <edgar.gonzalez@fundourselves.com>
Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com>
@KevinRansom KevinRansom deleted the fixseqexprtests branch March 21, 2024 22:24
brianrourkeboll added a commit to brianrourkeboll/fsharp that referenced this pull request May 9, 2024
* The test sources and baselines for these were duplicated in dotnet#15484 to
  test the realsig feature, but that meant that the test _sources_
  needed to be kept in sync by hand. This change uses the approach used
  in dotnet#16795 instead: it reuses the same test _source_ files and just
  adds duplicate _tests_ to check the emitted IL with realsig+.
KevinRansom added a commit that referenced this pull request May 13, 2024
* Consolidate emitted IL `for`-loop tests

* The test sources and baselines for these were duplicated in #15484 to
  test the realsig feature, but that meant that the test _sources_
  needed to be kept in sync by hand. This change uses the approach used
  in #16795 instead: it reuses the same test _source_ files and just
  adds duplicate _tests_ to check the emitted IL with realsig+.

* Update netfx baselines

* Fix find/replace bug

* Unify netstandard assembly version in IL

* Re-update baselines

---------

Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants