[Question]: Service and Object have the same TypeTag #43034
Labels
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Question
userCategory/Compilation
Description
I don't know if this is a bug or intended, but it seems quite strange that both Object and Service have the same TypeTag. I think it was forgotten to add the +1 to the definition of the service tag.
Relevant code:
ballerina-lang/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/util/TypeTags.java
Lines 60 to 62 in 74c7367
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: