microsoft / microsoft/typespec

Template member access allow access to late bound properties

Open
#10,683 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.