-
Notifications
You must be signed in to change notification settings - Fork 753
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
Port SemType Tests from nBallerina to lang repo Tests #34629
Comments
As per the discussion had with @hasithaa, @rdhananjaya, @gimantha, @chiranSachintha,
|
We have to write separate tests for type tests available in here. Sub tasks:
|
@chiranSachintha, let's do our changes in this branch https://github.com/ballerina-platform/ballerina-lang/tree/semtype-tests |
As discussed with @rdhananjaya We are going to ignore the following two kinds of test cases which are in the semtype test suite
Example type IntArray int[];
type ArrayExcept5 IntArray & IntArray;
Example type IntArray int[];
// @type IntArray = Array5OfIntArray[4]
type Array5OfIntArray int[5][]; In this test case, generate a value related to Any idea to port this kind of test cases? @gimantha @MaryamZi @hasithaa @KavinduZoysa |
@chiranSachintha, I think, type IntArray int[];
// @type IntArray <: Array5OfIntOrFloatArray[4]
type Array5OfIntOrFloatArray (int|float)[5][]; Even we can't test this as it is, we can rearrange this as follows. type IntArray int[];
// IntArray<:IntOrFloatArray
type IntOrFloatArray (int|float)[]; |
Depending on the effort, can't we migrate these also and keep them disabled and enable them as and when we add support for other kinds of intersections?
When you say value, do you mean a runtime test? |
$Subject.
No of people: 2
The text was updated successfully, but these errors were encountered: