diff --git a/examples/03-structs.sx b/examples/03-structs.sx index a088c52..c6b9e75 100644 --- a/examples/03-structs.sx +++ b/examples/03-structs.sx @@ -9,7 +9,7 @@ Complex :: struct { B: struct { val: string; }; - } = .B.{val = "hello"}; + } = .B.{"hello"}; } main :: () { diff --git a/examples/18-conditions.sx b/examples/18-conditions.sx index f6bdfd2..bb380df 100644 --- a/examples/18-conditions.sx +++ b/examples/18-conditions.sx @@ -8,11 +8,6 @@ main :: () { print("contained"); } - if 0 <= x <= 100 and 0 <= y <= 100 { - print("contained"); - } - - if 1000 > x > -100 and 0 <= y <= 100 { print("contained"); }