-
Notifications
You must be signed in to change notification settings - Fork 52
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
0.8.0-Beta DSL confusion between minBound
and minValue
.
#572
Comments
Hi, But could you clarify, having encountered the problem, have you looked at the documentation for the |
I did not look at the documentation, no. I was creating a new reproducer project and was already familiar with the kover API so I was going off memory. However, my memory was slightly off. It seem like an easy mistake to make. |
Implemented in |
I have spent a long time being very confused, stepping through debuggers, and creating a reproducer only to find out that I was using the DSL incorrectly. I think it is a design issue, as it is too easy for users to get mixed up.
I was doing this:
And my output kept looking like this:
I was very confused why it kept using lines instead of branches. Finally, I discovered I needed to do this:
And now it works:
I think that the correct solution here is to use the
@DslMarker
annotation on all DSL objects. I mean, create an annotation calledKoverDsl
, annotate that annotation with@DslMarker
, and putKoverDsl
on all kover dsl interfaces.The text was updated successfully, but these errors were encountered: