7 Commits

Author SHA1 Message Date
Jeroen van Rijn
b18f75c41c Make core:flags file open errors more readable
If it fails because the file doesn't exist:
[Open_File_Error#2] Unable to open "foo.file". File not found.

If it does exist and the flags are simple (.Read, .Write or both), it'll say this:
[Open_File_Error#2] Unable to open "foo.file" with perms 0o444 as read-only

It it does exist but fails to open for other reasons, it'll print:
[Open_File_Error#2] Unable to open "foo.file" with perms 0o444 and flags File_Flags{....}

Future work: Translate permissions from octal to `ls -al` format (e.g. `-rwxrwxrwx`).
2026-02-11 22:52:24 +01:00
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00
Jeroen van Rijn
13228c14e8 More conflicts during rebase 2026-02-08 13:04:44 +01:00
Jeroen van Rijn
f7c4c80ef3 Fix broken examples in documentation tester.
No more:
```
We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo"
The following procedures were found:
   bar()
```
2025-04-05 16:36:26 +02:00
dozn
b99aee65bf Pass in allocator and loc to core:flags.parse() 2025-02-15 08:47:08 -08:00
Laytan Laats
2d8d0dd851 fix @(optimization_mode) usage in builtin collections 2024-07-08 21:07:53 +02:00
Feoramund
edb685f04b Add package core:flags 2024-06-07 13:16:13 -04:00