Getting this invalid subtyping relationship in the current nutcracker branch.
type A int[2][][5];
// A<:B
type B int[][];
Tested the relationship between the above two types in nBallerina repo with --showTypes. It gives no relationships as expected. So this has to be a porting issue.
Steps to Reproduce
Copy the above sample to a bal file and save it under the data directory.
Description
Getting this invalid subtyping relationship in the current nutcracker branch.
Tested the relationship between the above two types in nBallerina repo with
--showTypes
. It gives no relationships as expected. So this has to be a porting issue.Steps to Reproduce
Copy the above sample to a bal file and save it under the
data
directory.Then run the below
verifyAllSubtypeRelationships()
test. https://github.com/ballerina-platform/ballerina-lang/blob/468f4d50505380d997bc7e0fbb10ab247bf38895/tests/jballerina-semtype-port-test/src/test/java/io/ballerina/semtype/port/test/SemTypeTest.java#L203Affected Version(s)
nutcracker branch