You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is similar to #9786, but not a duplicate because this reproduces on macOS as well as Windows.
On macOS, the default filesystem is case-insensitive (APFS). HFS+ can be case sensitive but it also defaults to case-insensitive. On Windows, the rules are more complicated.
The text was updated successfully, but these errors were encountered:
Jarred-Sumner
changed the title
@import is case-sensitive on case-insensitive filesystems, causing modules to instantiate duplicate times @import is case-sensitive on case-insensitive filesystems, causing modules to instantiate multiple times
Apr 3, 2024
It's mentioned in #9786 that this reproduces on other systems than windows, e.g. linux filesystems with case-folding enabled. I don't see any reason to have a second issue open.
Zig Version
0.12.0-dev.1830+779b8e259
Steps to Reproduce and Observed Behavior
repro.zig
zig test repro.zig
Expected Behavior
Test should pass
This issue is similar to #9786, but not a duplicate because this reproduces on macOS as well as Windows.
On macOS, the default filesystem is case-insensitive (APFS). HFS+ can be case sensitive but it also defaults to case-insensitive. On Windows, the rules are more complicated.
The text was updated successfully, but these errors were encountered: