removed waring (have remaind dead code for future feature)

This commit is contained in:
Giulio Agostini
2026-07-07 20:31:23 +02:00
parent 2c3267e8a4
commit 84a7bf453f
11 changed files with 122 additions and 84 deletions
+27
View File
@@ -0,0 +1,27 @@
Data :: struct {
number: Number,
string: String,
bool: Bool
};
Data.new :: fn(number: Number, string: String, bool: Bool) -> Self
do
return Self {
number: number,
string: string,
bool: bool
};
end;
Data.function :: fn(
self,
number: Number,
string: String,
bool: Bool,)
{number == 42} : Nil
do
self.number = number;
self.string = string;
self.bool = bool;
end;