Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

reference docs don't explain givens with ConstrApp #19016

Closed
bjornregnell opened this issue Nov 21, 2023 · 0 comments · Fixed by #20327
Closed

reference docs don't explain givens with ConstrApp #19016

bjornregnell opened this issue Nov 21, 2023 · 0 comments · Fixed by #20327
Labels
area:documentation good first issue Perfect for someone who wants to get started contributing itype:bug

Comments

@bjornregnell
Copy link
Contributor

Compiler version

3.3.1

Minimized code

This way of writing givens is a bit surprising:

given ops1: IntOps()

which perhaps is a shorthand for

given ops1: IntOps with {}

Expectation

An explanation and example of the usage of given IntOps() should be given here:
https://github.com/lampepfl/dotty/blob/main/docs/_docs/reference/contextual/givens.md

@bjornregnell bjornregnell added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Nov 21, 2023
@szymon-rd szymon-rd added area:documentation good first issue Perfect for someone who wants to get started contributing and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Nov 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:documentation good first issue Perfect for someone who wants to get started contributing itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants