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

Service declaration does not infer type from listeners attach method #33873

Closed
rdhananjaya opened this issue Nov 17, 2021 · 1 comment
Closed
Labels
Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug

Comments

@rdhananjaya
Copy link
Member

rdhananjaya commented Nov 17, 2021

Description:
Lang issue related to ballerina-platform/ballerina-library#2398

This is fine when only structural typing is at play, but then the service type of the listener attach method is a distinct object the service decl is force to use the type reference to say the desired type of the service.

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@rdhananjaya rdhananjaya added Type/Bug Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. labels Nov 17, 2021
@praveennadarajah
Copy link
Contributor

Closing with #33842

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug
Projects
None yet
Development

No branches or pull requests

2 participants