microsoft / microsoft/typespec
Template member access allow access to late bound properties
Open
bug
compiler:core
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
While it works in some cases it errors with circular issues with very confusing error. And as we don't allow it for non template constraint this feels inconsitent. We should revert that for now until we figure out that solution globally
[Playground Link](https://cadlplayground.z22.web.core.windows.net/?e=%40typespec%2Fopenapi3&c=bmFtZXNwYWNlIFRlc3Q7Cgptb2RlbCBSZWZsZWN0PFQ%2BIHsKICAuLi5UOwp9yB5NxAZQcm9wZXJ0eQogIGlzyTHELiAgxFY6IHN0cmluZzvFEnQ6IFRlbXBsYXRlxyTUJn0%2BxAjEBsdqyTRUIGV4dGVuZHPOfeYAn2E6IFQuxE7lAKQvLyBhbGlhcyBBID3OLsck&options=%7B%7D&vs=%7B%7D)
Contributor guide
Assessment
This issue has not been assessed yet.