Skip to content

Commit

Permalink
Change to unspecified
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed Nov 19, 2024
1 parent f4300fe commit 0319a06
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ main() {
list.checkme1<int>(42);
list.checkme2(42);
// ^^^^^^^^
// [analyzer] COMPILE_TIME_ERROR.ARGUMENT_TYPE_NOT_ASSIGNABLE
// [cfe] Inferred type argument 'int' doesn't conform to the bound 'T' of the type variable 'R' on 'SuperList|checkme2'.
// [analyzer] unspecified
// [cfe] unspecified
list.checkme2<int>(42);
// ^
// [cfe] Type argument 'int' doesn't conform to the bound 'T' of the type variable 'R' on 'SuperList|checkme2'.
// ^^^
// [analyzer] COMPILE_TIME_ERROR.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS
// [analyzer] unspecified
// [cfe] unspecified
}

0 comments on commit 0319a06

Please sign in to comment.