Skip to content
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

[Bug]: Internal compiler error, operation in interface should already have been checked #3199

Closed
4 tasks done
Sherylueen opened this issue Apr 22, 2024 · 3 comments · Fixed by #3216
Closed
4 tasks done
Labels
bug Something isn't working triaged:core
Milestone

Comments

@Sherylueen
Copy link

Describe the bug

Got Internal compiler error: Operation in interface should already have been checked.
Hi team,
Today I based on the typespec to fix some of the check errors in PR's pipeline.
I got this error, Internal compiler error, operation in interface should already have been checked, not know how to deal with it.
image

Code ref: AppComplianceAutomation.Management

Reproduction

  1. go to https://github.com/Azure/azure-rest-api-specs-pr
  2. check out to branch Sherylueen-appcomplianceautomation-Microsoft.AppComplianceAutomation-2024-06-27
  3. under root folder run: px tsv specification/appcomplianceautomation/AppComplianceAutomation.Management

Checklist

@Sherylueen Sherylueen added the bug Something isn't working label Apr 22, 2024
@markcowl markcowl added this to the [2024] May milestone Apr 22, 2024
@timotheeguerin
Copy link
Member

Minimal repro

Issue seems to be when referencing an operation interface template that had a synax error in the template args

@timotheeguerin
Copy link
Member

ok so if we get rid of the syntax error this patttern happens when a operation template in an interface is pointing to a is that is not an olperation

op test is IFace.Action;

interface IFace {
  Action<Headers> is string;
}

@markcowl
Copy link
Contributor

The root issue in TypeSPec is tracked here: #3199 Leavign this as a TCGC issue once this is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged:core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants