Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sys_read_dir errors consistent between platforms #1095

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tobil4sk
Copy link
Member

@tobil4sk tobil4sk commented Mar 7, 2024

Haxe documentation specifies that an exception should be thrown if the path is not a valid directory:

If path does not denote a valid directory, an exception is thrown.

This was already the case on all platforms except Windows, where null was returned. Now the behavior is consistent.

Haxe documentation specifies that an exception should be thrown if the path is not a valid directory. This was already the case on all platforms except Windows, where `null` was returned. Now the behavior is consistent.
tobil4sk added a commit to soccertutor/hxcpp that referenced this pull request Mar 7, 2024
Haxe documentation specifies that an exception should be thrown if the path is not a valid directory. This was already the case on all platforms except Windows, where `null` was returned. Now the behavior is consistent.

See: HaxeFoundation#1095
tobil4sk added a commit to tobil4sk/hxcpp that referenced this pull request May 10, 2024
Haxe documentation specifies that an exception should be thrown if the path is not a valid directory. This was already the case on all platforms except Windows, where `null` was returned. Now the behavior is consistent.

See: HaxeFoundation#1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant