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]: Ignored import with _ suggests invalid service definition #41211

Open
dilanSachi opened this issue Aug 15, 2023 · 0 comments
Open

[Bug]: Ignored import with _ suggests invalid service definition #41211

dilanSachi opened this issue Aug 15, 2023 · 0 comments
Labels
Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug userCategory/Editor

Comments

@dilanSachi
Copy link
Contributor

Description

Import a package and ignore it's import using _
import ballerina/http as _;

The LS suggests the following service definition which results in a compiler error.
Screenshot from 2023-08-15 22-29-29

Screenshot from 2023-08-15 22-29-47

Steps to Reproduce

No response

Affected Version(s)

U7.1

OS, DB, other environment details and versions

No response

Related area

-> Editor

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Editor labels Aug 15, 2023
@MaryamZi MaryamZi added Team/LanguageServer Language Server Implementation related issues. #Compiler and removed needTriage The issue has to be inspected and labeled manually labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug userCategory/Editor
Projects
None yet
Development

No branches or pull requests

3 participants