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

For Emit Client Code from TypeSpec, emit client code for java succeed but output contains warning #6786

Closed
jianingwang123 opened this issue Mar 31, 2025 · 3 comments
Labels
ide Issues for VS, VSCode, Monaco, etc.

Comments

@jianingwang123
Copy link
Member

Description:
For Emit Client Code from TypeSpec-Java, emit client code for java succeed, but output contains warning.

Repro steps:

  1. Install extension
  2. Install @typespec/compiler
  3. Trigger Emit from TypeSpec
  4. Select Client Code emitter type
  5. Select Java

Environment:

Actual Result:

Image

Expected Result:
Emit client code for java successfully without any warnings.

@RodgeFu, @msyyc and @chunyu3 for notification.

@chunyu3
Copy link
Contributor

chunyu3 commented Mar 31, 2025

Warning diagnostics will not fail the generation.
This is warning diagnostics reported by java emitter, it is expected. Just curious, why is warning circled read?

@jianingwang123
Copy link
Member Author

@chunyu3 thanks for review, because other languages ​​don't have similar warnings, just to confirm, if this is expected, then I will close this issue.

@markcowl markcowl added the ide Issues for VS, VSCode, Monaco, etc. label Mar 31, 2025
@chunyu3
Copy link
Contributor

chunyu3 commented Apr 1, 2025

Checked and this is expected.

@RodgeFu RodgeFu closed this as completed Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
Development

No branches or pull requests

4 participants