ajterr:10057

This is an old revision of the document!


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.1759068474.txt.gz
  • Last modified: 2026-06-17 00:19
  • (external edit)