tests use deprecated Tuple/List #85

Closed
opened 2021-11-10 16:06:11 +08:00 by sb10q · 2 comments

e.g.

#[test_case(2,
    &[
        ("v1", "Tuple[int]"),
        ("v2", "List[int]"),
    ],
    (("v1", "v2"), "Cannot unify list[0] with tuple[0]")
    ; "type mismatch"
)]
e.g. ```rust #[test_case(2, &[ ("v1", "Tuple[int]"), ("v2", "List[int]"), ], (("v1", "v2"), "Cannot unify list[0] with tuple[0]") ; "type mismatch" )] ```

This is because the symbol resolver is one specifically made for the test, without using other modules. I think this is not a problem. This module is not aware of Python specific issues.

This is because the symbol resolver is one specifically made for the test, without using other modules. I think this is not a problem. This module is not aware of Python specific issues.
Poster
Owner

OK but this is confusing and what led me to use Tuple in #81.

OK but this is confusing and what led me to use ``Tuple`` in #81.
sb10q closed this issue 2021-11-11 20:05:25 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#85
There is no content yet.