E4011 Reference Errors

member-access-invalid-type

type does not support member access

When this occurs

`123.field`

Example error message

error[E4011]: member access not supported on type INTEGER

How to fix

Only structs and modules support member access with `.`. Check the value type.

Related errors