Constructors must only declare "sl.types::void" as return type (AJTERR10061)
| Product(s) | Karo.Net Compiler |
|---|
Description
A constructor must always have the return type sl.types::void.
[constructor]
||: string { }
// ^^^^^^ Invalid return type for a constructor.
How can I resolve this error?
Change the return type to sl.types::void.