HaxeFoundation / HaxeFoundation/as3hx

When 2 .as files have a similar file name, the second one gets overwritten without a warning

Open
#282 1 comment 0 reactions 1 assignee Claimed by @SlavaRa View on GitHub
bug
Dominant language
Haxe
Stars
180
Forks
52
PR merge metrics
No merged PRs in 30d

Description

```
source AS3 file scripts/sortBtn_Cont.as
target HX file: scripts_hx/SortBtnCont.hx
source AS3 file: scripts/sortBtnCont.as
target HX file: scripts_hx/SortBtnCont.hx
```

This collision should produce an error. Possibly add a `sys.FileSystem.exists()` check on the target HX file before writing.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.