ajterr:10057

A generic type parameter cannot have the same name as a function parameter (AJTERR10057)

Product(s) Karo.Net Compiler

A generic type parameter was specified, that has the same name as a parameter of the function.

test<T, T2> |T: string| { }
//   ^       ^ Generic type parameter and function parameter have the same name.

Use different names for parameters and type parameters.

  • ajterr/10057.txt
  • Last modified: 2026-06-17 00:21
  • by 127.0.0.1