Table of Contents

Class reference parameter must be the first parameter (AJTERR10030)

Product(s) Karo.NET Compiler

Description

A class reference parameter must be the first and only the first parameter in a function definition.

test |param1: string, self: !| { }
//                          ^ Class reference parameter is not at the first position.

How can I resolve this error?

Move the parameter to the first position.