HaxeFoundation / HaxeFoundation/haxe

Diagnostics error occurs when an @ is used in the file path

Open
#8,086 7 comments 0 reactions 1 assignee Claimed by @Simn View on GitHub
bug feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

If the path of a file has an `@` in it, an error will occur with diagnostics.

For example, I have a folder called `@Projects`. This causes the error to occur in VSCode when I save.

`Invalid format: Projects/FlixelTut/source/PlayState.hx`

The issue appears to be a compiler bug, probably a string.split() that goes wrong. Based on discussions with @Gama11 in Discord, we believe that Haxe does a a naive string split on @, assuming that can't appear in file paths.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.