Skip to content

Conversation

@Florian3k
Copy link
Owner

No description provided.

@Florian3k Florian3k closed this Jul 11, 2023
Florian3k pushed a commit that referenced this pull request Aug 7, 2023
Update docs canthrow.md remove bad type alias at line 70
Florian3k pushed a commit that referenced this pull request Feb 12, 2024
`given ... with` or `given ... = new { ... }` kinds of definitions now follow
the old rules. This allows recursive `given...with` definitions as they are
found in protoQuill.

We still have the old check in a later phase against directly recursive methods.
Of the three loops in the original i15474 we now detect #2 and #3 with new new
restrictions. #1 slips through since it is a loop involving a `given...with` instance
of `Conversion`, but is caught later with the recursive method check.

Previously tests #1 and #3 were detected with the recursive methods check and #2 slipped
through altogether.

The new rules are enough for defining simple givens with `=` without fear of looping.
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