ajterr:10058

A generic type parameter on a function cannot have the same name as a generic type parameter on the enclosing type (AJTERR10058)

Product(s) Karo.Net Compiler

A generic type parameter on a function was found, that has the same name as a generic type parameter in the enclosing type.

test::testType<T> {
    func<T> ||: void { }
//       ^ This generic type parameter name is already used by the enclosing type.
}

Use a distinct name for the generic type parameters.

  • ajterr/10058.txt
  • Last modified: 2025-09-28 16:10
  • by admin