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

Merged
merged 1 commit into from
Jun 25, 2024

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.

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
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
Copy link
Member Author

@Simn This one also seems to be affected by the flaky test.

@tobil4sk
Copy link
Member Author

Looks green now!

@Simn Simn merged commit 72c719d into HaxeFoundation:master Jun 25, 2024
100 checks passed
@tobil4sk tobil4sk deleted the fix/sys_read_dir_error branch June 25, 2024 16:15
tobil4sk added a commit to soccertutor/hxcpp that referenced this pull request Aug 28, 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.

2 participants