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

[Improvement]: Remove referred types created using type reference type definitions #40052

Closed
Nadeeshan96 opened this issue Mar 30, 2023 · 0 comments · Fixed by #39987
Closed
Assignees
Labels
Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/Improvement
Milestone

Comments

@Nadeeshan96
Copy link
Contributor

Description

In the $_init class invalid fields for referred types are created for type reference type definitions. They are populated inside types.$_types class and other respective classes in the types package. They are not accessed anyway and poses an overhead. constants.$_typeref_type_constants class already has the type reference type definitions correctly.

Describe your problem(s)

No response

Describe your solution(s)

No response

Related area

-> Runtime

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@Nadeeshan96 Nadeeshan96 added Type/Improvement Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime labels Mar 30, 2023
@Nadeeshan96 Nadeeshan96 self-assigned this Mar 30, 2023
@Nadeeshan96 Nadeeshan96 added this to the 2201.6.0 milestone May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/Improvement
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant