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] 部分情况未出现 AI 修复按钮 #4053

Open
hacke2 opened this issue Sep 29, 2024 · 0 comments
Open

[BUG] 部分情况未出现 AI 修复按钮 #4053

hacke2 opened this issue Sep 29, 2024 · 0 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@hacke2
Copy link
Member

hacke2 commented Sep 29, 2024

描述你的问题(Describe the bug)

image

复现路径(To Reproduce)

interface IA {
  foo: () => [b: B, c: C];
}

class B {
  // B 的属性和方法
}

class C {
  // C 的属性和方法
}

class A implements IA {
  foo = () => {
      return [new B(), new C()]; // 确保返回一个元组 [B, C]
  };
}

预期表现(Expected behavior)

出现 AI 修复按钮

环境信息(Environment)

  • OS: macOS
  • Browser: chrome
  • OpenSumi Version: 3.4.0
@hacke2 hacke2 added the 🐞 bug Something isn't working label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants