Check exe and lib output so -o works with directories. Removed construct forms from Maybe.

This commit is contained in:
Christoffer Lerno
2025-02-26 02:35:28 +01:00
parent 374d73af12
commit 96943ca66f
5 changed files with 26 additions and 11 deletions

View File

@@ -28,16 +28,6 @@ fn Maybe value(Type val)
return { .value = val, .has_value = true };
}
fn Maybe Maybe.with_value(Type val) @operator(construct)
{
return { .value = val, .has_value = true };
}
fn Maybe Maybe.empty() @operator(construct)
{
return { };
}
const Maybe EMPTY = { };
macro Type! Maybe.get(self)