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

Add for comprehension test to demonstrate the issue with dotty coverage #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vijaykramesh
Copy link
Owner

This test clearly indicates the current problem with coverage in dotty:

Screen Shot 2023-03-07 at 7 29 20 PM

Screen Shot 2023-03-07 at 7 29 24 PM

will move to upstream once I can actually fix it!

Apply
false
0
false
Copy link
Owner Author

Choose a reason for hiding this comment

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

this should be true, or maybe never appear?

Ident
false
0
false
Copy link
Owner Author

Choose a reason for hiding this comment

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

same

Apply
false
0
false
Copy link
Owner Author

Choose a reason for hiding this comment

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

If I make all the List(1) List(2) and List List true here then the output matches what I'd expect:
Screen Shot 2023-03-07 at 8 30 34 PM

@vijaykramesh
Copy link
Owner Author

for the sake of my own debugging later, when running this locally need to invoke the tests like:

➜ sbt ";dist/pack; scala3-bootstrapped/compile; scala3-bootstrapped/testOnly *CoverageTests"

@rolandtritsch
Copy link

Hi @vijaykramesh. Good work. How can we drive this forward/fix it?

@vijaykramesh
Copy link
Owner Author

@rolandtritsch see scala#17239 I'm working on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants