Skip to content

Incorrect capitalisation in package directory  #7

@erikwatson

Description

@erikwatson

I was getting this error while building an openfl project using assets from an swf.

Export/html5/haxe/_generated/MC_AchievementPopUp.hx:7: characters 73-115 : Type not found : skyPandaTiles_fla.MC_AchievementPopUp2_433

When I searched inside the _generated folder, there was a subdirectory called SkyPandaTiles_fla and inside of it, the file MC_AchievementPopUp2_433 existed.

It took me a moment to realise that the directory name began with an uppercase S, which is incorrect, as a package name in Haxe must begin with a lowercase letter. When I changed this manually and re-tested the error went away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions