Table of Contents

Tried to use the static access operator for a non static property (AJTERR10040)

Product(s) Karo.NET Compiler

Description

A static access operator was used to retrieve a non-static property.

#makeStaticAvailableEverywhere sl.types::string:length;
//                                              ^^^^^^ length is not a static property
io:out(sl.types::string:length);
//                      ^^^^^^ length is not a static property

How can I resolve this error?

Not specified