ajterr:10061

This is an old revision of the document!


Constructors must only declare "sl.types::void" as return type (AJTERR10061)

Product(s) Karo.Net Compiler

A constructor must always have the return type sl.types::void.

[constructor]
||: string { }
//  ^^^^^^ Invalid return type for a constructor.

Change the return type to sl.types::void.

  • ajterr/10061.1759068989.txt.gz
  • Last modified: 2026-06-17 00:19
  • (external edit)