-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove
@[ignore_generic_duplicates]
attribute in Name5
- Loading branch information
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
53 changes: 30 additions & 23 deletions
53
vlib/v/checker/tests/message_on_duplicate_using_generic.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:22:7: notice: duplicate type: blah blah blah 22222 | ||
20 | fn main() { | ||
21 | _ := Name1[int](2) | ||
22 | _ := Name2[int](4) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:21:7: notice: duplicate type: blah blah blah 22222 | ||
19 | fn main() { | ||
20 | _ := Name1[int](2) | ||
21 | _ := Name2[int](4) | ||
| ~~~~~~~~~~~~~ | ||
23 | _ := Name3[int](6) | ||
24 | _ := Name4[int](8) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:23:7: warning: duplicate type: blah blah blah 33333 | ||
21 | _ := Name1[int](2) | ||
22 | _ := Name2[int](4) | ||
23 | _ := Name3[int](6) | ||
22 | _ := Name3[int](6) | ||
23 | _ := Name4[int](8) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:22:7: warning: duplicate type: blah blah blah 33333 | ||
20 | _ := Name1[int](2) | ||
21 | _ := Name2[int](4) | ||
22 | _ := Name3[int](6) | ||
| ~~~~~~~~~~~~~ | ||
24 | _ := Name4[int](8) | ||
25 | _ := Name5[int](9) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:21:7: error: duplicate type: blah blah blah 11111 | ||
19 | | ||
20 | fn main() { | ||
21 | _ := Name1[int](2) | ||
23 | _ := Name4[int](8) | ||
24 | _ := Name5[int](9) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:20:7: error: duplicate type: blah blah blah 11111 | ||
18 | | ||
19 | fn main() { | ||
20 | _ := Name1[int](2) | ||
| ~~~~~~~~~~~~~ | ||
22 | _ := Name2[int](4) | ||
23 | _ := Name3[int](6) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:26:7: error: duplicate type: <no message was defined> | ||
24 | _ := Name4[int](8) | ||
25 | _ := Name5[int](9) | ||
26 | _ := Name6[int](10) | ||
21 | _ := Name2[int](4) | ||
22 | _ := Name3[int](6) | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:24:7: error: duplicate type: blah blah blah 55555 | ||
22 | _ := Name3[int](6) | ||
23 | _ := Name4[int](8) | ||
24 | _ := Name5[int](9) | ||
| ~~~~~~~~~~~~~ | ||
25 | _ := Name6[int](10) | ||
26 | } | ||
vlib/v/checker/tests/message_on_duplicate_using_generic.vv:25:7: error: duplicate type: <no message was defined> | ||
23 | _ := Name4[int](8) | ||
24 | _ := Name5[int](9) | ||
25 | _ := Name6[int](10) | ||
| ~~~~~~~~~~~~~~ | ||
27 | } | ||
26 | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters