Skip to content

Add clarity to errors with incorrect fields. #3

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`.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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