-
Notifications
You must be signed in to change notification settings - Fork 232
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
Diagnostics stacktrace #1321
Milestone
Comments
timotheeguerin
added
the
design:needed
A design request has been raised that needs a proposal
label
Nov 28, 2022
ghost
added
the
Needs Triage
label
Nov 28, 2022
See also #423 (comment) for example from other compiler. |
@timotheeguerin Add implementation sketch and estimate |
pri: 2 |
markcowl
added
📌
and removed
design:needed
A design request has been raised that needs a proposal
Needs Triage
labels
Dec 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should find a way to show the diagnostics happening in template instance at a better location
There is a lot of validation that cannot be represented right now as template constraints and even if we supported most there is probably still some things that are out of control.
https://cadlplayground.z22.web.core.windows.net/?c=bW9kZWwgRm9vPFQ%2BIHsKICBAZm9ybWF0KCJ1cmkiKQogIGZvbzogVDsKfQoKb3AgdGVzdCgpOsUyaW50MzI%2BOw%3D%3D
Some options could be tracing back to out of the template instance to where the template was instantiated.
The text was updated successfully, but these errors were encountered: