Skip to content

Add clarity to errors with incorrect fields. #3

@SomeRanDev

Description

@SomeRanDev
[ERROR] src/systems/AccountSync.hx:97: characters 16-34

 97 |     var size = orders[aid].size();
    |                ^^^^^^^^^^^^^^^^^^
    | `MagicArrayTools` function was used without calling `magiter` first. Please call `magiter` before running any other functions.

To help reduce user confusion, convert this error message to something that provides the underlying type:

Array<Int> has no field size.

If you're trying to use `MagicArrayTools.size`, you must first call `magiter`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions